Class FileRepository
- java.lang.Object
-
- step.core.repositories.AbstractRepository
-
- step.controller.repositories.file.FileRepository
-
- All Implemented Interfaces:
step.core.repositories.Repository
public class FileRepository extends step.core.repositories.AbstractRepository
-
-
Field Summary
Fields Modifier and Type Field Description static String
REPOSITORY_PARAMETER_PATH
-
Constructor Summary
Constructors Constructor Description FileRepository(File rootDir, step.core.plans.PlanAccessor planAccessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
exportExecution(step.core.execution.ExecutionContext context, Map<String,String> repositoryParameters)
step.core.repositories.ArtefactInfo
getArtefactInfo(Map<String,String> repositoryParameters)
protected Path
getFolderPath(Map<String,String> repositoryParameters)
protected String
getTestcaseName(Path rootFolderPath, Path filePath)
step.core.repositories.TestSetStatusOverview
getTestSetStatusOverview(Map<String,String> repositoryParameters)
step.core.repositories.ImportResult
importArtefact(step.core.execution.ExecutionContext context, Map<String,String> repositoryParameters)
protected step.core.plans.Plan
importFile(Path path, Path p)
-
-
-
Field Detail
-
REPOSITORY_PARAMETER_PATH
public static final String REPOSITORY_PARAMETER_PATH
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
FileRepository
public FileRepository(File rootDir, step.core.plans.PlanAccessor planAccessor)
-
-
Method Detail
-
getArtefactInfo
public step.core.repositories.ArtefactInfo getArtefactInfo(Map<String,String> repositoryParameters) throws Exception
- Throws:
Exception
-
getFolderPath
protected Path getFolderPath(Map<String,String> repositoryParameters) throws Exception
- Throws:
Exception
-
importArtefact
public step.core.repositories.ImportResult importArtefact(step.core.execution.ExecutionContext context, Map<String,String> repositoryParameters) throws Exception
- Throws:
Exception
-
importFile
protected step.core.plans.Plan importFile(Path path, Path p) throws IOException, step.repositories.parser.StepsParser.ParsingException
- Throws:
IOException
step.repositories.parser.StepsParser.ParsingException
-
getTestSetStatusOverview
public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview(Map<String,String> repositoryParameters) throws Exception
- Throws:
Exception
-
-