Package org.gradle.profiler.mutations
Class AbstractFileChangeMutator
java.lang.Object
org.gradle.profiler.mutations.AbstractFileChangeMutator
- All Implemented Interfaces:
BuildMutator
- Direct Known Subclasses:
AbstractDelegateFileMutator,AbstractJavaSourceFileMutator,AbstractKotlinSourceFileMutator,ApplyBuildScriptChangeFileMutator,ApplyChangeToAndroidLayoutFileMutator,ApplyChangeToAndroidManifestFileMutator,ApplyChangeToAndroidResourceFileMutator,ApplyChangeToNativeSourceFileMutator,ApplyChangeToPropertyResourceFileMutator,ApplyProjectDependencyChangeMutator,ApplyValueChangeToAndroidResourceFileMutator
-
Field Summary
FieldsFields inherited from interface org.gradle.profiler.BuildMutator
NOOP -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterScenario(ScenarioContext context) Runs after the last iteration of the scenario has finished.protected abstract voidapplyChangeTo(BuildContext context, StringBuilder text) voidbeforeBuild(BuildContext context) Runs before starting an iteration of the build, after any potential cleanup has finished.voidbeforeScenario(ScenarioContext context) Runs before the first iteration of the scenario.protected voidtoString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.gradle.profiler.BuildMutator
afterBuild, afterCleanup, beforeCleanup, validate
-
Field Details
-
sourceFile
-
-
Constructor Details
-
AbstractFileChangeMutator
-
-
Method Details
-
beforeScenario
Description copied from interface:BuildMutatorRuns before the first iteration of the scenario.- Specified by:
beforeScenarioin interfaceBuildMutator
-
beforeBuild
Description copied from interface:BuildMutatorRuns before starting an iteration of the build, after any potential cleanup has finished.- Specified by:
beforeBuildin interfaceBuildMutator
-
applyChangeTo
-
afterScenario
Description copied from interface:BuildMutatorRuns after the last iteration of the scenario has finished.- Specified by:
afterScenarioin interfaceBuildMutator
-
revert
-
toString
-