Class BuildSignaturesTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.codehaus.mojo.animal_sniffer.ant.BuildSignaturesTask
-
- All Implemented Interfaces:
java.lang.Cloneable
public class BuildSignaturesTask extends org.apache.tools.ant.Task
-
-
Field Summary
Fields Modifier and Type Field Description private java.io.File
destfile
private java.util.Vector<Ignore>
excludeClasses
private java.util.Vector<Ignore>
includeClasses
private java.util.Vector<org.apache.tools.ant.types.Path>
paths
private java.util.Vector<Signature>
signatures
-
Constructor Summary
Constructors Constructor Description BuildSignaturesTask()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addPath(org.apache.tools.ant.types.Path path)
Ignore
createExcludeClasses()
Ignore
createIncludeClasses()
Signature
createSignature()
void
execute()
private void
process(SignatureBuilder builder, java.io.File f)
void
setDestfile(java.io.File dest)
protected void
validate()
-
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
-
-
-
-
Field Detail
-
destfile
private java.io.File destfile
-
paths
private java.util.Vector<org.apache.tools.ant.types.Path> paths
-
signatures
private java.util.Vector<Signature> signatures
-
includeClasses
private java.util.Vector<Ignore> includeClasses
-
excludeClasses
private java.util.Vector<Ignore> excludeClasses
-
-
Method Detail
-
setDestfile
public void setDestfile(java.io.File dest)
-
addPath
public void addPath(org.apache.tools.ant.types.Path path)
-
createSignature
public Signature createSignature()
-
createIncludeClasses
public Ignore createIncludeClasses()
-
createExcludeClasses
public Ignore createExcludeClasses()
-
validate
protected void validate()
-
execute
public void execute() throws org.apache.tools.ant.BuildException
- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
process
private void process(SignatureBuilder builder, java.io.File f) throws java.io.IOException
- Throws:
java.io.IOException
-
-