public interface BuildMutator
| Modifier and Type | Field and Description |
|---|---|
static BuildMutator |
NOOP |
| Modifier and Type | Method and Description |
|---|---|
default void |
afterBuild(BuildContext context,
java.lang.Throwable error)
Runs after each iteration of the build has finished.
|
default void |
afterCleanup(BuildContext context,
java.lang.Throwable error)
Runs after each iteration of cleanup has finished.
|
default void |
afterScenario(ScenarioContext context)
Runs after the last iteration of the scenario has finished.
|
default void |
beforeBuild(BuildContext context)
Runs before starting an iteration of the build, after any potential cleanup has finished.
|
default void |
beforeCleanup(BuildContext context)
Runs before each iteration if cleanup tasks are declared.
|
default void |
beforeScenario(ScenarioContext context)
Runs before the first iteration of the scenario.
|
default void |
validate(BuildInvoker invoker)
Validates if the mutator works with the given invoker.
|
static final BuildMutator NOOP
default void validate(BuildInvoker invoker)
default void beforeScenario(ScenarioContext context)
default void beforeCleanup(BuildContext context)
default void afterCleanup(BuildContext context, java.lang.Throwable error)
default void beforeBuild(BuildContext context)
default void afterBuild(BuildContext context, java.lang.Throwable error)
default void afterScenario(ScenarioContext context)