Package org.gradle.profiler.mutations
Class AbstractCacheCleanupMutator
java.lang.Object
org.gradle.profiler.mutations.AbstractCleanupMutator
org.gradle.profiler.mutations.AbstractCacheCleanupMutator
- All Implemented Interfaces:
BuildMutator
- Direct Known Subclasses:
ClearArtifactTransformCacheMutator,ClearBuildCacheMutator,ClearJarsCacheMutator
-
Nested Class Summary
Nested classes/interfaces inherited from class org.gradle.profiler.mutations.AbstractCleanupMutator
AbstractCleanupMutator.CleanupSchedule, AbstractCleanupMutator.Configurator -
Field Summary
Fields inherited from interface org.gradle.profiler.BuildMutator
NOOP -
Constructor Summary
ConstructorsConstructorDescriptionAbstractCacheCleanupMutator(File gradleUserHome, AbstractCleanupMutator.CleanupSchedule schedule, String cacheNamePrefix) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidcleanup()protected abstract voidcleanupCacheDir(File cacheDir) Methods inherited from class org.gradle.profiler.mutations.AbstractCleanupMutator
beforeBuild, beforeCleanup, beforeScenario, delete, toString, validateMethods 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, afterScenario
-
Constructor Details
-
AbstractCacheCleanupMutator
public AbstractCacheCleanupMutator(File gradleUserHome, AbstractCleanupMutator.CleanupSchedule schedule, String cacheNamePrefix)
-
-
Method Details
-
cleanup
protected void cleanup()- Specified by:
cleanupin classAbstractCleanupMutator
-
cleanupCacheDir
-