Package org.jboss.jca.validator.ant
Class ValidatorTask
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- org.jboss.jca.validator.ant.ValidatorTask
-
- All Implemented Interfaces:
Cloneable
public class ValidatorTask extends org.apache.tools.ant.TaskA ValidatorTask.- Version:
- $Revision: $
- Author:
- Jeff Zhang
-
-
Constructor Summary
Constructors Constructor Description ValidatorTask()Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.tools.ant.types.PathcreateClasspath()Add a path to the classpath.voidexecute()Executeorg.apache.tools.ant.types.CommandlineJavagetCommandLine()Accessor to the command line.StringgetOutputDir()Get the output directory.StringgetRarFile()Get the rarFile.voidsetClasspath(org.apache.tools.ant.types.Path s)Set the classpath to be used when running the Java class.voidsetOutputDir(String outputDir)Set the output directory.voidsetRarFile(String rarFile)Set the rarFile.-
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
-
-
-
-
Method Detail
-
getOutputDir
public String getOutputDir()
Get the output directory.- Returns:
- the outputDir.
-
setOutputDir
public void setOutputDir(String outputDir)
Set the output directory.- Parameters:
outputDir- The outputDir to set.
-
getRarFile
public String getRarFile()
Get the rarFile.- Returns:
- the rarFile.
-
setRarFile
public void setRarFile(String rarFile)
Set the rarFile.- Parameters:
rarFile- The rarFile to set.
-
setClasspath
public void setClasspath(org.apache.tools.ant.types.Path s)
Set the classpath to be used when running the Java class.- Parameters:
s- an Ant Path object containing the classpath.
-
createClasspath
public org.apache.tools.ant.types.Path createClasspath()
Add a path to the classpath.- Returns:
- created classpath.
-
getCommandLine
public org.apache.tools.ant.types.CommandlineJava getCommandLine()
Accessor to the command line.- Returns:
- the current command line.
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionExecute- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException- If the build fails
-
-