public abstract class AbstractFileChangeMutator extends java.lang.Object implements BuildMutator
| Modifier and Type | Field and Description |
|---|---|
protected java.io.File |
sourceFile |
NOOP| Modifier | Constructor and Description |
|---|---|
protected |
AbstractFileChangeMutator(java.io.File sourceFile) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterScenario(ScenarioContext context)
Runs after the last iteration of the scenario has finished.
|
protected abstract void |
applyChangeTo(BuildContext context,
java.lang.StringBuilder text) |
void |
beforeBuild(BuildContext context)
Runs before starting an iteration of the build, after any potential cleanup has finished.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitafterBuild, afterCleanup, beforeCleanup, beforeScenario, validateprotected AbstractFileChangeMutator(java.io.File sourceFile)
public void beforeBuild(BuildContext context)
BuildMutatorbeforeBuild in interface BuildMutatorprotected abstract void applyChangeTo(BuildContext context, java.lang.StringBuilder text)
public void afterScenario(ScenarioContext context)
BuildMutatorafterScenario in interface BuildMutatorpublic java.lang.String toString()
toString in class java.lang.Object