component-installation-plugin / com.intershop.gradle.component.installation.tasks / SyncCopyActionDecorator

SyncCopyActionDecorator

class SyncCopyActionDecorator : CopyAction

This class is a fork or the original Gradle SyncCopyActionDecorator. It extends the functionality to set the last modified time from source file.

Constructors

<init>

SyncCopyActionDecorator(baseDestDir: File, delegate: CopyAction, preserveSpec: PatternFilterable, directoryFileTreeFactory: DirectoryFileTreeFactory, defaultTime: Long)

initialize the copy action

Functions

execute

fun execute(stream: CopyActionProcessingStream): WorkResult

The execute method of this copy action. This method will handle the main functionality.