org.apache.ws.jaxme.js.pattern

Class Ant.ReallyBasicAntTask

Enclosing Class:
Ant
Known Direct Subclasses:
Ant.AntChainGenerator, Ant.BasicAntTask, Ant.XmlRpcGenerator

protected static abstract class Ant.ReallyBasicAntTask
extends Task

Method Summary

void
addClasspath(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.
Path
getClasspath()
Returns a classpath, being used to load compiled classes or ressources.
String
getClasspathRef()
Returns a classpath reference, being used to load compiled classes or ressources.
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(String pRef)
Sets a classpath reference, being used to load compiled classes or ressources.
void
setDestDir(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.

Method Details

addClasspath

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

doExecute

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

execute

public void execute()

finish

public void finish()
Performs validation of the attributes and nested elements.

getClasspath

public Path getClasspath()
Returns a classpath, being used to load compiled classes or ressources.

getClasspathRef

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

getDestDir

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

isSettingLoggerFactory

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

setClasspathRef

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

setDestDir

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

setSettingLoggerFactory

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