public abstract class AbstractScheduledMutator extends java.lang.Object implements BuildMutator
| Modifier and Type | Class and Description |
|---|---|
protected static class |
AbstractScheduledMutator.Configurator |
static class |
AbstractScheduledMutator.Schedule |
NOOP| Constructor and Description |
|---|
AbstractScheduledMutator(AbstractScheduledMutator.Schedule schedule) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeBuild(BuildContext context)
Runs before starting an iteration of the build, after any potential cleanup has finished.
|
void |
beforeCleanup(BuildContext context)
Runs before each iteration if cleanup tasks are declared.
|
void |
beforeScenario(ScenarioContext context)
Runs before the first iteration of the scenario.
|
protected static void |
delete(java.io.File f) |
protected abstract void |
executeOnSchedule() |
java.lang.String |
toString() |
void |
validate(BuildInvoker invoker)
Validates if the mutator works with the given invoker.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitafterBuild, afterCleanup, afterScenariopublic AbstractScheduledMutator(AbstractScheduledMutator.Schedule schedule)
public void validate(BuildInvoker invoker)
BuildMutatorvalidate in interface BuildMutatorpublic void beforeBuild(BuildContext context)
BuildMutatorbeforeBuild in interface BuildMutatorpublic void beforeScenario(ScenarioContext context)
BuildMutatorbeforeScenario in interface BuildMutatorpublic void beforeCleanup(BuildContext context)
BuildMutatorbeforeCleanup in interface BuildMutatorprotected abstract void executeOnSchedule()
protected static void delete(java.io.File f)
public java.lang.String toString()
toString in class java.lang.Object