|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.tools.ant.ProjectComponent org.apache.tools.ant.Task org.jmlspecs.ant.tasks.AbstractFileSetTask org.jmlspecs.ant.tasks.CommonOptionsTask
An abstract Ant task that holds common options for the JML tools, including FileSets.
Class Specifications |
Specifications inherited from class AbstractFileSetTask |
private invariant !this._filesets.contains(null); private invariant ( \forall java.lang.Object o; this._filesets.contains(o); o instanceof org.apache.tools.ant.types.FileSet); |
Specifications inherited from class Object |
represents objectState <- org.jmlspecs.lang.JMLDataGroup.IT; public represents _getClass <- \typeof(this); |
Nested Class Summary |
Nested classes inherited from class org.jmlspecs.ant.tasks.AbstractFileSetTask |
AbstractFileSetTask.FileSetVisitor |
Model Field Summary |
Model fields inherited from class java.lang.Object |
_getClass, objectState, theString |
Ghost Field Summary |
Ghost fields inherited from class java.lang.Object |
objectTimesFinalized, owner |
Field Summary | |
private String |
_classPath
|
private String |
_destination
|
private boolean |
_recursive
|
private String |
_sourcePath
|
private boolean |
_verbose
|
Fields inherited from class org.jmlspecs.ant.tasks.AbstractFileSetTask |
|
Fields inherited from class org.apache.tools.ant.Task |
description, location, target, taskName, taskType, wrapper |
Fields inherited from class org.apache.tools.ant.ProjectComponent |
project |
Constructor Summary | |
CommonOptionsTask()
|
Model Method Summary |
Model methods inherited from class java.lang.Object |
hashValue |
Method Summary | |
String[] |
getArguments()
Return an array of the argument strings for running a JML tool. |
String |
getClasspath()
Return the classpath of this CheckTask. |
String |
getDestination()
Return the destination of this CompileTask. |
List |
getFilesAndDirectories()
Return a list of the files and directories needed for running a tool. |
boolean |
getRecursive()
Check whether or not this task works recursive. |
String |
getSourcepath()
Return the sourcepath of this CheckTask. |
List |
getToolSpecificOptions()
Return a list of the tool-specific options for running a JML tool. |
boolean |
getVerbose()
Check whether or not this task should be verbose. |
void |
setClasspath(String classpath)
Set the CLASSPATH. |
void |
setDestination(String destination)
Set the destination of this CompileTask. |
void |
setRecursive(boolean recursive)
Set the verbosity |
void |
setSourcepath(String sourcepath)
Set the sourcepath for the JML checker. |
void |
setVerbose(boolean verbose)
Set the verbosity |
Methods inherited from class org.jmlspecs.ant.tasks.AbstractFileSetTask |
addFileset, getFileSets |
Methods inherited from class org.apache.tools.ant.Task |
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class org.apache.tools.ant.ProjectComponent |
getProject, setProject |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private boolean _recursive
private boolean _verbose
private String _classPath
private String _destination
private String _sourcePath
Constructor Detail |
public CommonOptionsTask()
Method Detail |
public String[] getArguments() throws Exception
Exception
public List getToolSpecificOptions()
public List getFilesAndDirectories() throws Exception
Exception
public boolean getRecursive()
public void setRecursive(boolean recursive)
recursive
- True if the task should work recursive, false otherwise.public boolean getVerbose()
public void setVerbose(boolean verbose)
verbose
- True if the task should be verbose, false otherwise.public void setClasspath(String classpath)
classpath
- The CLASSPATH.public String getClasspath()
public void setDestination(String destination)
destination
- A String containing the directory where the files
should be put.public String getDestination()
public void setSourcepath(String sourcepath)
sourcepath
- The sourcepath.public String getSourcepath()
|
JML | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |