org.jboss.jca.validator.ant
Class ValidatorTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jboss.jca.validator.ant.ValidatorTask
All Implemented Interfaces:
Cloneable

public class ValidatorTask
extends org.apache.tools.ant.Task

A ValidatorTask.

Version:
$Revision: $
Author:
Jeff Zhang

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
ValidatorTask()
          Constructor
 
Method Summary
 org.apache.tools.ant.types.Path createClasspath()
          Add a path to the classpath.
 void execute()
          Execute
 org.apache.tools.ant.types.CommandlineJava getCommandLine()
          Accessor to the command line.
 String getOutputDir()
          Get the output directory.
 String getRarFile()
          Get the rarFile.
 void setClasspath(org.apache.tools.ant.types.Path s)
          Set the classpath to be used when running the Java class.
 void setOutputDir(String outputDir)
          Set the output directory.
 void setRarFile(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
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidatorTask

public ValidatorTask()
Constructor

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.BuildException
Execute

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - If the build fails


Copyright © 2008 Red Hat Middleware LLC (http://www.jboss.com/)