Groovy Documentation

org.gradle.api.tasks.copy
Interface CopyAction

org.gradle.api.tasks.copy.CopySpec
  org.gradle.api.tasks.copy.CopyAction
All Superinterfaces:
CopySpec

interface CopyAction
extends CopySpec

Method Summary
void execute()

Execute the copy

boolean getDidWork()

Checks if the copy actually copied any files.

List getLeafSyncSpecs()

CopySpec getRootSyncSpec()

void setCaseSensitive(boolean caseSensitive)

Set case sensitivity for comparisons.

 
Methods inherited from interface CopySpec
exclude, filter, filter, from, from, from, from, include, into, remapTarget, rename
 

Method Detail

execute

public void execute()
Execute the copy


getDidWork

public boolean getDidWork()
Checks if the copy actually copied any files.
return:
true if any files were copied.


getLeafSyncSpecs

public List getLeafSyncSpecs()


getRootSyncSpec

public CopySpec getRootSyncSpec()


setCaseSensitive

public void setCaseSensitive(boolean caseSensitive)
Set case sensitivity for comparisons.
param:
caseSensitive


 

Groovy Documentation