org.apache.ws.jaxme.js.pattern
Class Ant.ReallyBasicAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.ws.jaxme.js.pattern.Ant.ReallyBasicAntTask
Direct Known Subclasses:
Ant.AntChainGenerator, Ant.BasicAntTask, Ant.XmlRpcGenerator
Enclosing class:
Ant

protected abstract static class Ant.ReallyBasicAntTask
extends org.apache.tools.ant.Task


Field Summary
 
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
protected Ant.ReallyBasicAntTask()
           
 
Method Summary
 void addClasspath(org.apache.tools.ant.types.Path pClasspath)
          Sets a classpath, being used to load compiled classes or ressources.
abstract  void doExecute()
          Abstract method, which is invoked to do the real work.
 void execute()
           
 void finish()
          Performs validation of the attributes and nested elements.
 org.apache.tools.ant.types.Path getClasspath()
          Returns a classpath, being used to load compiled classes or ressources.
 java.lang.String getClasspathRef()
          Returns a classpath reference, being used to load compiled classes or ressources.
 java.io.File getDestDir()
          Sets, the destination directory, where sources are being generated to.
 boolean isSettingLoggerFactory()
          Returns, whether the Ant task initializes its own logger factory.
 void setClasspathRef(java.lang.String pRef)
          Sets a classpath reference, being used to load compiled classes or ressources.
 void setDestDir(java.io.File pDir)
          Sets, the destination directory, where sources are being generated to.
 void setSettingLoggerFactory(boolean pSettingLoggerFactory)
          Sets, whether the Ant task initializes its own logger factory.
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, handleErrorFlush, handleErrorOutput, handleFlush, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName
 
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
 

Constructor Detail

Ant.ReallyBasicAntTask

protected Ant.ReallyBasicAntTask()
Method Detail

setSettingLoggerFactory

public void setSettingLoggerFactory(boolean pSettingLoggerFactory)
Sets, whether the Ant task initializes its own logger factory. Defaults to true.


isSettingLoggerFactory

public boolean isSettingLoggerFactory()
Returns, whether the Ant task initializes its own logger factory. Defaults to true.


setDestDir

public void setDestDir(java.io.File pDir)
Sets, the destination directory, where sources are being generated to. Defaults to the current directory.


getDestDir

public java.io.File getDestDir()
Sets, the destination directory, where sources are being generated to. Defaults to the current directory.


setClasspathRef

public void setClasspathRef(java.lang.String pRef)
Sets a classpath reference, being used to load compiled classes or ressources.


getClasspathRef

public java.lang.String getClasspathRef()
Returns a classpath reference, being used to load compiled classes or ressources.


addClasspath

public void addClasspath(org.apache.tools.ant.types.Path pClasspath)
Sets a classpath, being used to load compiled classes or ressources.


getClasspath

public org.apache.tools.ant.types.Path getClasspath()
Returns a classpath, being used to load compiled classes or ressources.


finish

public void finish()

Performs validation of the attributes and nested elements.


doExecute

public abstract void doExecute()
                        throws java.lang.Exception
Abstract method, which is invoked to do the real work.

Throws:
java.lang.Exception

execute

public void execute()
Overrides:
execute in class org.apache.tools.ant.Task