Groovy Documentation

org.gradle.api.internal.tasks.copy
Class CopyVisitor

java.lang.Object
  org.gradle.api.internal.tasks.copy.CopyVisitor
All Implemented Interfaces:
FileVisitor

class CopyVisitor

author:
Steve Appling


Constructor Summary
CopyVisitor(java.io.File baseDestDir, List remapClosures, List nameMappers, FilterChain filter)

 
Method Summary
void copyFile(java.io.File srcFile, java.io.File destFile)

boolean getDidWork()

java.io.File getTarget(RelativePath path)

boolean needsCopy(java.io.File source, java.io.File dest)

void visitDir(java.io.File dir, RelativePath path)

void visitFile(java.io.File source, RelativePath path)

 
Methods inherited from class java.lang.Object
hashCode, getClass, equals, toString, wait, wait, wait, notify, notifyAll
 

Constructor Detail

CopyVisitor

public CopyVisitor(java.io.File baseDestDir, List remapClosures, List nameMappers, FilterChain filter)


 
Method Detail

copyFile

public void copyFile(java.io.File srcFile, java.io.File destFile)


getDidWork

public boolean getDidWork()


getTarget

public java.io.File getTarget(RelativePath path)


needsCopy

public boolean needsCopy(java.io.File source, java.io.File dest)


visitDir

public void visitDir(java.io.File dir, RelativePath path)


visitFile

public void visitFile(java.io.File source, RelativePath path)


 

Groovy Documentation