CustomIncrementalSyncTask¶
@DisableCachingByDefault
abstract class CustomIncrementalSyncTask : DefaultTask, IncrementalSyncTask
Constructors¶
CustomIncrementalSyncTask¶
constructor()
Properties¶
actions¶
ant¶
open override val ant: AntBuilder?
asDynamicObject¶
@get:Internal
open val asDynamicObject: DynamicObject
dependsOn¶
description¶
open override var description: @Nullable String?
destinationDirectory¶
@get:OutputDirectory
abstract val destinationDirectory: Property<File>
destroyables¶
open override val destroyables: TaskDestroyables?
didWork¶
duplicatesStrategy¶
@get:Input
abstract var duplicatesStrategy: DuplicatesStrategy
enabled¶
extensions¶
open override val extensions: ExtensionContainer?
finalizedBy¶
open override val finalizedBy: TaskDependency?
from¶
@get:InputFiles
@get:NormalizeLineEndings
@get:IgnoreEmptyDirectories
@get:PathSensitive(value = PathSensitivity.ABSOLUTE)
@get:SkipWhenEmpty
abstract val from: ConfigurableFileCollection
fs¶
@get:Inject
abstract val fs: FileSystemOperations
group¶
identityPath¶
open val identityPath: Path?
impliesSubProjects¶
open var impliesSubProjects: Boolean
inputs¶
open override val inputs: TaskInputsInternal?
isCompatibleWithConfigurationCache¶
open val isCompatibleWithConfigurationCache: Boolean
isEnabled¶
isHasCustomActions¶
open val isHasCustomActions: Boolean
lifecycleDependencies¶
@get:Internal
open val lifecycleDependencies: TaskDependencyInternal?
localState¶
open override val localState: TaskLocalState?
logger¶
open override val logger: Logger?
logging¶
open override val logging: LoggingManager?
mustRunAfter¶
open override val mustRunAfter: TaskDependency?
name¶
objectFactory¶
@get:Inject
abstract val objectFactory: ObjectFactory
onlyIf¶
open val onlyIf: Spec<in TaskInternal?>?
outputs¶
open override val outputs: TaskOutputsInternal?
path¶
project¶
open override val project: Project?
reasonNotToTrackState¶
open val reasonNotToTrackState: Optional<String?>?
reasonsNotToTrackState¶
open val reasonsNotToTrackState: Set<String?>?
reasonTaskIsIncompatibleWithConfigurationCache¶
open val reasonTaskIsIncompatibleWithConfigurationCache: Optional<String?>?
requiredServices¶
open val requiredServices: TaskRequiredServices?
sharedResources¶
open val sharedResources: List<ResourceLock?>?
shouldRunAfter¶
open override val shouldRunAfter: TaskDependency?
standardOutputCapture¶
open val standardOutputCapture: StandardOutputCapture?
state¶
open override val state: TaskStateInternal?
taskActions¶
open val taskActions: List<InputChangesAwareTaskAction?>?
taskDependencies¶
open override val taskDependencies: TaskDependencyInternal?
taskIdentity¶
open val taskIdentity: TaskIdentity<*>?
temporaryDir¶
open override val temporaryDir: File?
temporaryDirFactory¶
open val temporaryDirFactory: Factory<File?>?
timeout¶
Functions¶
acceptServiceReferences¶
open fun acceptServiceReferences(serviceReferences: Set<ServiceReferenceSpec?>?)
addFilter¶
appendParallelSafeAction¶
open fun appendParallelSafeAction(action: Action<in Task?>?)
compareTo¶
configure¶
open fun configure(closure: Closure<*>?): Task?
dependsOn¶
doCopy¶
fun doCopy(inputChanges: InputChanges)
doFirst¶
open fun doFirst(action: Closure<*>?): Task?
open fun doFirst(action: Action<in Task?>?): Task?
doLast¶
open fun doLast(action: Closure<*>?): Task?
open fun doLast(action: Action<in Task?>?): Task?
doNotTrackState¶
open fun doNotTrackState(reasonNotToTrackState: String?)
doNotTrackStateIf¶
open fun doNotTrackStateIf(reason: String?, spec: Spec<in TaskInternal?>?)
finalizedBy¶
open fun finalizedBy(vararg paths: Any?): Task?
getActions¶
open fun getActions(): List<Action<in Task?>?>?
getAnt¶
open fun getAnt(): AntBuilder?
getDependsOn¶
open fun getDependsOn(): Set<Any?>?
getDescription¶
open fun getDescription(): @Nullable String?
getDestroyables¶
open fun getDestroyables(): TaskDestroyables?
getDidWork¶
open fun getDidWork(): Boolean
getEnabled¶
open fun getEnabled(): Boolean
getExtensions¶
open fun getExtensions(): ExtensionContainer?
getFinalizedBy¶
open fun getFinalizedBy(): TaskDependency?
getGroup¶
getInputs¶
open fun getInputs(): TaskInputsInternal?
getLocalState¶
open fun getLocalState(): TaskLocalState?
getLogger¶
open fun getLogger(): Logger?
getLogging¶
open fun getLogging(): LoggingManager?
getMustRunAfter¶
open fun getMustRunAfter(): TaskDependency?
getName¶
getOutputs¶
open fun getOutputs(): TaskOutputsInternal?
getPath¶
getProject¶
open fun getProject(): Project?
getShouldRunAfter¶
open fun getShouldRunAfter(): TaskDependency?
getState¶
open fun getState(): TaskStateInternal?
getTaskDependencies¶
open fun getTaskDependencies(): TaskDependencyInternal?
getTemporaryDir¶
open fun getTemporaryDir(): File?
getTimeout¶
open fun getTimeout(): Property<Duration?>?
hasProperty¶
open fun hasProperty(propertyName: String?): Boolean
hasTaskActions¶
open fun hasTaskActions(): Boolean
mustRunAfter¶
open fun mustRunAfter(vararg paths: Any?): Task?
notCompatibleWithConfigurationCache¶
open fun notCompatibleWithConfigurationCache(reason: String?)
onlyIf¶
open fun onlyIf(onlyIfClosure: Closure<*>?)
open fun onlyIf(spec: Spec<in Task?>?)
prependParallelSafeAction¶
open fun prependParallelSafeAction(action: Action<in Task?>?)
property¶
restoreOnlyIf¶
open fun restoreOnlyIf(onlyIf: Spec<in TaskInternal?>?)
restoreTaskActions¶
open fun restoreTaskActions(taskActions: List<InputChangesAwareTaskAction?>?)
setActions¶
open fun setActions(replacements: List<Action<in Task?>?>?)
setDependsOn¶
open fun setDependsOn(dependsOn: Iterable<*>?)
setDescription¶
open fun setDescription(description: @Nullable String?)
setDidWork¶
open fun setDidWork(didWork: Boolean)
setEnabled¶
open fun setEnabled(enabled: Boolean)
setFinalizedBy¶
open fun setFinalizedBy(finalizedByTasks: Iterable<*>?)
setGroup¶
setMustRunAfter¶
open fun setMustRunAfter(mustRunAfterTasks: Iterable<*>?)
setOnlyIf¶
open fun setOnlyIf(onlyIfClosure: Closure<*>?)
open fun setOnlyIf(spec: Spec<in Task?>?)
setProperty¶
open fun setProperty(name: String?, value: Any?)
setShouldRunAfter¶
open fun setShouldRunAfter(shouldRunAfterTasks: Iterable<*>?)
shouldRunAfter¶
open fun shouldRunAfter(vararg paths: Any?): TaskDependency?
usesService¶
open fun usesService(service: Provider<out BuildService<*>?>?)