-
- All Implemented Interfaces:
-
kotlin.Comparable
,org.gradle.api.Task
,org.gradle.api.internal.DynamicObjectAware
,org.gradle.api.internal.TaskInternal
,org.gradle.api.plugins.ExtensionAware
,org.gradle.util.Configurable
public class CleanOldStoredDataTask extends DefaultTask
Task to clean all old loaded files based on a last modification date. All registered store in {@link CleanableStore} would be cleaned
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public class
CleanOldStoredDataTask.Companion
-
Field Summary
Fields Modifier and Type Field Description private final Long
timeToLiveInDays
-
Constructor Summary
Constructors Constructor Description CleanOldStoredDataTask()
-
Method Summary
Modifier and Type Method Description final Long
getTimeToLiveInDays()
Time to live in days final Unit
exec()
-
Methods inherited from class org.jetbrains.kotlin.gradle.tasks.CleanOldStoredDataTask
compareTo, configure, dependsOn, doFirst, doFirst, doFirst, doLast, doLast, doLast, finalizedBy, getActions, getAnt, getDependsOn, getDescription, getDestroyables, getDidWork, getEnabled, getExtensions, getFinalizedBy, getGroup, getInputs, getLocalState, getLogger, getLogging, getMustRunAfter, getName, getOutputs, getPath, getProject, getShouldRunAfter, getState, getTaskDependencies, getTemporaryDir, getTimeout, hasProperty, mustRunAfter, onlyIf, onlyIf, property, setActions, setDependsOn, setDescription, setDidWork, setEnabled, setFinalizedBy, setGroup, setMustRunAfter, setOnlyIf, setOnlyIf, setProperty, setShouldRunAfter, shouldRunAfter, usesService
-
Methods inherited from class org.gradle.api.DefaultTask
appendParallelSafeAction, doNotTrackState, getAsDynamicObject, getConvention, getIdentityPath, getImpliesSubProjects, getOnlyIf, getReasonNotToTrackState, getRequiredServices, getServices, getSharedResources, getStandardOutputCapture, getTaskActions, getTaskIdentity, getTemporaryDirFactory, hasTaskActions, isEnabled, isHasCustomActions, prependParallelSafeAction, setImpliesSubProjects
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTimeToLiveInDays
final Long getTimeToLiveInDays()
Time to live in days
-
-
-
-