public abstract class AbstractCheckSumTask
extends Task
Modifier and Type | Class and Description |
---|---|
protected class |
AbstractCheckSumTask.FileLocations |
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
_antLocations |
protected static java.lang.String |
COMMENT |
Constructor and Description |
---|
AbstractCheckSumTask() |
Modifier and Type | Method and Description |
---|---|
boolean |
containsMatch(java.io.File file,
java.util.List<java.lang.String> maskList) |
void |
execute() |
protected java.lang.String |
formatTimestamp(long time) |
protected java.lang.String |
getAppName() |
protected java.util.List<java.io.File> |
getFileList(java.io.File f) |
protected java.lang.String |
getProjectProperty(java.lang.String key) |
protected java.lang.String |
getRelativePath(java.io.File absoluteDir,
java.lang.String fileName) |
protected java.lang.String |
now() |
void |
setAppName(java.lang.String name) |
void |
setExcludes(java.lang.String excludes) |
void |
setFile(java.lang.String file) |
void |
setIncludes(java.lang.String includes) |
void |
setLocations(java.lang.String locations) |
void |
setRootDir(java.lang.String dir) |
void |
setToDir(java.lang.String dir) |
protected boolean |
shouldBeExcluded(java.io.File file) |
protected boolean |
shouldBeIncluded(java.io.File f) |
protected java.util.List<java.lang.String> |
toList(java.lang.String expressions) |
abstract java.lang.String |
toXML(java.io.File checkDir,
CheckSummer summer) |
protected void |
writeToFile(java.io.File f,
java.lang.String content) |
protected java.lang.String _antLocations
protected static final java.lang.String COMMENT
public void setRootDir(java.lang.String dir)
public void setToDir(java.lang.String dir)
public void setFile(java.lang.String file)
public void setAppName(java.lang.String name)
public void setIncludes(java.lang.String includes)
public void setExcludes(java.lang.String excludes)
public void setLocations(java.lang.String locations)
protected java.lang.String getAppName()
public void execute() throws BuildException
BuildException
public abstract java.lang.String toXML(java.io.File checkDir, CheckSummer summer) throws java.io.IOException
java.io.IOException
protected java.lang.String getProjectProperty(java.lang.String key)
protected java.lang.String now()
protected java.lang.String formatTimestamp(long time)
protected java.util.List<java.lang.String> toList(java.lang.String expressions)
protected java.util.List<java.io.File> getFileList(java.io.File f)
protected boolean shouldBeIncluded(java.io.File f)
protected boolean shouldBeExcluded(java.io.File file)
protected java.lang.String getRelativePath(java.io.File absoluteDir, java.lang.String fileName)
protected void writeToFile(java.io.File f, java.lang.String content) throws java.io.IOException
java.io.IOException
public boolean containsMatch(java.io.File file, java.util.List<java.lang.String> maskList)
Copyright © 2004-2014 The YAWL Foundation.