public class StepsCache
| Modifier and Type | Class and Description |
|---|---|
static class |
StepsCache.Companion |
| Modifier and Type | Field and Description |
|---|---|
static StepsCache.Companion |
Companion |
| Constructor and Description |
|---|
StepsCache(BasicStepsCache basicStepsCache,
ComposedStepFileService composedStepFileService,
StepsResolver stepsResolver,
WarningService warningService) |
| Modifier and Type | Method and Description |
|---|---|
com.testerum.model.infrastructure.path.Path |
copyComposedStep(com.testerum.model.infrastructure.path.Path sourcePath,
com.testerum.model.infrastructure.path.Path destinationDirPath) |
void |
deleteComposedStep(com.testerum.model.infrastructure.path.Path path) |
void |
deleteComposedStepDirectory(com.testerum.model.infrastructure.path.Path path) |
java.util.Collection<com.testerum.model.step.StepDef> |
getAllSteps() |
com.testerum.model.step.BasicStepDef |
getBasicStepAtPath(com.testerum.model.infrastructure.path.Path basicStepPath) |
java.util.Collection<com.testerum.model.step.BasicStepDef> |
getBasicSteps() |
com.testerum.model.step.ComposedStepDef |
getComposedStepAtPath(com.testerum.model.infrastructure.path.Path path) |
java.util.List<com.testerum.model.step.ComposedStepDef> |
getComposedSteps() |
com.testerum.model.step.tree.ComposedContainerStepNode |
getComposedStepsDirectoriesTree() |
java.util.Collection<com.testerum.scanner.step_lib_scanner.model.hooks.HookDef> |
getHooks() |
com.testerum.model.step.StepDef |
getStepAtPath(com.testerum.model.infrastructure.path.Path basicStepPath) |
com.testerum.model.step.StepDef |
getStepDefByPhaseAndPattern(com.testerum.model.enums.StepPhaseEnum stepPhase,
com.testerum.model.text.StepPattern stepPattern) |
void |
initialize(java.util.List<java.lang.String> packagesWithAnnotations,
java.util.List<? extends java.nio.file.Path> additionalBasicStepsDirs,
java.nio.file.Path composedStepsDir,
java.nio.file.Path resourcesDir) |
com.testerum.model.infrastructure.path.Path |
moveComposedStep(com.testerum.model.infrastructure.path.Path sourcePath,
com.testerum.model.infrastructure.path.Path destinationDirPath) |
void |
moveComposedStepDirectoryOrFile(com.testerum.model.infrastructure.path.CopyPath copyPath) |
com.testerum.model.infrastructure.path.Path |
renameComposedStepDirectory(com.testerum.model.infrastructure.path.RenamePath renamePath) |
com.testerum.model.step.ComposedStepDef |
saveComposedStep(com.testerum.model.step.ComposedStepDef composedStep) |
public static StepsCache.Companion Companion
public StepsCache(@NotNull
BasicStepsCache basicStepsCache,
@NotNull
ComposedStepFileService composedStepFileService,
@NotNull
StepsResolver stepsResolver,
@NotNull
WarningService warningService)
public void initialize(@NotNull
java.util.List<java.lang.String> packagesWithAnnotations,
@NotNull
java.util.List<? extends java.nio.file.Path> additionalBasicStepsDirs,
@NotNull
java.nio.file.Path composedStepsDir,
@NotNull
java.nio.file.Path resourcesDir)
@NotNull public java.util.Collection<com.testerum.model.step.BasicStepDef> getBasicSteps()
@Nullable
public com.testerum.model.step.BasicStepDef getBasicStepAtPath(@NotNull
com.testerum.model.infrastructure.path.Path basicStepPath)
@NotNull public java.util.Collection<com.testerum.scanner.step_lib_scanner.model.hooks.HookDef> getHooks()
@NotNull public java.util.Collection<com.testerum.model.step.StepDef> getAllSteps()
@Nullable
public com.testerum.model.step.StepDef getStepAtPath(@NotNull
com.testerum.model.infrastructure.path.Path basicStepPath)
@Nullable
public com.testerum.model.step.ComposedStepDef getComposedStepAtPath(@NotNull
com.testerum.model.infrastructure.path.Path path)
@NotNull
public com.testerum.model.step.StepDef getStepDefByPhaseAndPattern(@NotNull
com.testerum.model.enums.StepPhaseEnum stepPhase,
@NotNull
com.testerum.model.text.StepPattern stepPattern)
@NotNull public java.util.List<com.testerum.model.step.ComposedStepDef> getComposedSteps()
public void deleteComposedStep(@NotNull
com.testerum.model.infrastructure.path.Path path)
@NotNull
public com.testerum.model.step.ComposedStepDef saveComposedStep(@NotNull
com.testerum.model.step.ComposedStepDef composedStep)
@NotNull
public com.testerum.model.infrastructure.path.Path renameComposedStepDirectory(@NotNull
com.testerum.model.infrastructure.path.RenamePath renamePath)
public void deleteComposedStepDirectory(@NotNull
com.testerum.model.infrastructure.path.Path path)
public void moveComposedStepDirectoryOrFile(@NotNull
com.testerum.model.infrastructure.path.CopyPath copyPath)
@NotNull
public com.testerum.model.infrastructure.path.Path copyComposedStep(@NotNull
com.testerum.model.infrastructure.path.Path sourcePath,
@NotNull
com.testerum.model.infrastructure.path.Path destinationDirPath)
@NotNull
public com.testerum.model.infrastructure.path.Path moveComposedStep(@NotNull
com.testerum.model.infrastructure.path.Path sourcePath,
@NotNull
com.testerum.model.infrastructure.path.Path destinationDirPath)
@NotNull public com.testerum.model.step.tree.ComposedContainerStepNode getComposedStepsDirectoriesTree()