public class ComposedStepFileService
| Modifier and Type | Class and Description |
|---|---|
static class |
ComposedStepFileService.Companion |
| Modifier and Type | Field and Description |
|---|---|
static ComposedStepFileService.Companion |
Companion |
| Constructor and Description |
|---|
ComposedStepFileService(FileToBusinessStepMapper fileToBusinessStepMapper,
BusinessToFileStepMapper businessToFileStepMapper) |
| Modifier and Type | Method and Description |
|---|---|
void |
deleteComposedStep(com.testerum.model.infrastructure.path.Path path,
java.nio.file.Path composedStepsDir) |
void |
deleteDirectory(com.testerum.model.infrastructure.path.Path path,
java.nio.file.Path composedStepsDir) |
java.util.List<com.testerum.model.step.ComposedStepDef> |
getAllComposedSteps(java.nio.file.Path composedStepsDir) |
com.testerum.model.infrastructure.path.Path |
moveComposedStepDirectoryOrFile(com.testerum.model.infrastructure.path.CopyPath copyPath,
java.nio.file.Path composedStepsDir)
copyPath.copyPath MUST BE a fileif copyPath.destinationKnownPath is a file, this method renames copyPath to this new nameif copyPath.destinationKnownPath is a directory, this method moves copyPath inside this directory |
com.testerum.model.infrastructure.path.Path |
renameDirectory(com.testerum.model.infrastructure.path.RenamePath renamePath,
java.nio.file.Path composedStepsDir) |
com.testerum.model.step.ComposedStepDef |
save(com.testerum.model.step.ComposedStepDef composedStep,
java.nio.file.Path composedStepsDir) |
public static ComposedStepFileService.Companion Companion
public ComposedStepFileService(@NotNull
FileToBusinessStepMapper fileToBusinessStepMapper,
@NotNull
BusinessToFileStepMapper businessToFileStepMapper)
@NotNull
public java.util.List<com.testerum.model.step.ComposedStepDef> getAllComposedSteps(@NotNull
java.nio.file.Path composedStepsDir)
public void deleteComposedStep(@NotNull
com.testerum.model.infrastructure.path.Path path,
@NotNull
java.nio.file.Path composedStepsDir)
@NotNull
public com.testerum.model.step.ComposedStepDef save(@NotNull
com.testerum.model.step.ComposedStepDef composedStep,
@NotNull
java.nio.file.Path composedStepsDir)
@NotNull
public com.testerum.model.infrastructure.path.Path renameDirectory(@NotNull
com.testerum.model.infrastructure.path.RenamePath renamePath,
@NotNull
java.nio.file.Path composedStepsDir)
public void deleteDirectory(@NotNull
com.testerum.model.infrastructure.path.Path path,
@NotNull
java.nio.file.Path composedStepsDir)
@NotNull
public com.testerum.model.infrastructure.path.Path moveComposedStepDirectoryOrFile(@NotNull
com.testerum.model.infrastructure.path.CopyPath copyPath,
@NotNull
java.nio.file.Path composedStepsDir)
copyPath.copyPath MUST BE a file
if copyPath.destinationKnownPath is a file, this method renames copyPath to this new name
if copyPath.destinationKnownPath is a directory, this method moves copyPath inside this directory