Class CheckSignatureTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.codehaus.mojo.animal_sniffer.ant.CheckSignatureTask
- All Implemented Interfaces:
Cloneable
public class CheckSignatureTask
extends org.apache.tools.ant.Task
Checks the files against the provided signature.
- Since:
- 1.3
- Author:
- connollys
-
Field Summary
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapperFields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddPath(org.apache.tools.ant.types.Path path) org.apache.tools.ant.types.Pathorg.apache.tools.ant.types.Pathvoidexecute()voidsetClasspath(org.apache.tools.ant.types.Path classpath) voidsetClasspathRef(org.apache.tools.ant.types.Reference r) voidsetFailOnError(boolean failOnError) voidsetSignature(File signature) voidsetSourcepath(org.apache.tools.ant.types.Path sourcepath) voidsetSourcepathRef(org.apache.tools.ant.types.Reference r) protected voidvalidate()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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
CheckSignatureTask
public CheckSignatureTask()
-
-
Method Details
-
addPath
public void addPath(org.apache.tools.ant.types.Path path) -
createIgnore
-
createAnnotation
-
setSignature
-
createClasspath
public org.apache.tools.ant.types.Path createClasspath() -
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path classpath) -
setClasspathRef
public void setClasspathRef(org.apache.tools.ant.types.Reference r) -
createSourcepath
public org.apache.tools.ant.types.Path createSourcepath() -
setSourcepath
public void setSourcepath(org.apache.tools.ant.types.Path sourcepath) -
setSourcepathRef
public void setSourcepathRef(org.apache.tools.ant.types.Reference r) -
setFailOnError
public void setFailOnError(boolean failOnError) -
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
validate
protected void validate()
-