Class FileRepository
- java.lang.Object
-
- step.controller.repositories.file.FileRepository
-
- All Implemented Interfaces:
step.core.repositories.Repository
public class FileRepository extends java.lang.Object implements step.core.repositories.Repository
-
-
Constructor Summary
Constructors Constructor Description FileRepository(java.io.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, java.util.Map<java.lang.String,java.lang.String> repositoryParameters)
step.core.repositories.ArtefactInfo
getArtefactInfo(java.util.Map<java.lang.String,java.lang.String> repositoryParameters)
protected java.nio.file.Path
getFolderPath(java.util.Map<java.lang.String,java.lang.String> repositoryParameters)
protected java.lang.String
getTestcaseName(java.nio.file.Path rootFolderPath, java.nio.file.Path filePath)
step.core.repositories.TestSetStatusOverview
getTestSetStatusOverview(java.util.Map<java.lang.String,java.lang.String> repositoryParameters)
step.core.repositories.ImportResult
importArtefact(step.core.execution.ExecutionContext context, java.util.Map<java.lang.String,java.lang.String> repositoryParameters)
protected step.core.plans.Plan
importFile(java.nio.file.Path path, java.nio.file.Path p)
-
-
-
Method Detail
-
getArtefactInfo
public step.core.repositories.ArtefactInfo getArtefactInfo(java.util.Map<java.lang.String,java.lang.String> repositoryParameters) throws java.lang.Exception
- Specified by:
getArtefactInfo
in interfacestep.core.repositories.Repository
- Throws:
java.lang.Exception
-
getFolderPath
protected java.nio.file.Path getFolderPath(java.util.Map<java.lang.String,java.lang.String> repositoryParameters) throws java.lang.Exception
- Throws:
java.lang.Exception
-
importArtefact
public step.core.repositories.ImportResult importArtefact(step.core.execution.ExecutionContext context, java.util.Map<java.lang.String,java.lang.String> repositoryParameters) throws java.lang.Exception
- Specified by:
importArtefact
in interfacestep.core.repositories.Repository
- Throws:
java.lang.Exception
-
importFile
protected step.core.plans.Plan importFile(java.nio.file.Path path, java.nio.file.Path p) throws java.io.IOException, step.repositories.parser.StepsParser.ParsingException
- Throws:
java.io.IOException
step.repositories.parser.StepsParser.ParsingException
-
getTestSetStatusOverview
public step.core.repositories.TestSetStatusOverview getTestSetStatusOverview(java.util.Map<java.lang.String,java.lang.String> repositoryParameters) throws java.lang.Exception
- Specified by:
getTestSetStatusOverview
in interfacestep.core.repositories.Repository
- Throws:
java.lang.Exception
-
getTestcaseName
protected java.lang.String getTestcaseName(java.nio.file.Path rootFolderPath, java.nio.file.Path filePath)
-
exportExecution
public void exportExecution(step.core.execution.ExecutionContext context, java.util.Map<java.lang.String,java.lang.String> repositoryParameters) throws java.lang.Exception
- Specified by:
exportExecution
in interfacestep.core.repositories.Repository
- Throws:
java.lang.Exception
-
-