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, wrapper
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addPath
(org.apache.tools.ant.types.Path path) org.apache.tools.ant.types.Path
org.apache.tools.ant.types.Path
void
execute()
void
setClasspath
(org.apache.tools.ant.types.Path classpath) void
setClasspathRef
(org.apache.tools.ant.types.Reference r) void
setFailOnError
(boolean failOnError) void
setSignature
(File signature) void
setSourcepath
(org.apache.tools.ant.types.Path sourcepath) void
setSourcepathRef
(org.apache.tools.ant.types.Reference r) 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
Methods 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:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
validate
protected void validate()
-