Package com.intershop.gradle.icm.utils
Object CopySpecUtil
-
- All Implemented Interfaces:
public class CopySpecUtilThis object provides methodes to transfer configurations to a CopySpec.
-
-
Field Summary
Fields Modifier and Type Field Description public final static CopySpecUtilINSTANCE
-
Method Summary
Modifier and Type Method Description final UnitapplyServerDirTo(CopySpec parent, ServerDir serverDir)Applies a ServerDir configuration to an existing CopySpec. -
-
Method Detail
-
applyServerDirTo
final Unit applyServerDirTo(CopySpec parent, ServerDir serverDir)
Applies a ServerDir configuration to an existing CopySpec.
Use this overload at task execution time. In contrast to {@link #getCSForServerDir} it does not need a project to create a CopySpec, so it can be used inside a {@code FileSystemOperations.copy {}} block.
- Parameters:
parent- the CopySpec the configuration is added to as a child specserverDir- a ServerDir configuration
-
-
-
-