org.apache.ws.jaxme.js.pattern

Class Ant.ReallyBasicAntTask

protected abstract static class Ant.ReallyBasicAntTask extends Task

Method Summary
voidaddClasspath(Path pClasspath)
Sets a classpath, being used to load compiled classes or ressources.
abstract voiddoExecute()
Abstract method, which is invoked to do the real work.
voidexecute()
voidfinish()

Performs validation of the attributes and nested elements.

PathgetClasspath()
Returns a classpath, being used to load compiled classes or ressources.
StringgetClasspathRef()
Returns a classpath reference, being used to load compiled classes or ressources.
FilegetDestDir()
Sets, the destination directory, where sources are being generated to.
booleanisSettingLoggerFactory()
Returns, whether the Ant task initializes its own logger factory.
voidsetClasspathRef(String pRef)
Sets a classpath reference, being used to load compiled classes or ressources.
voidsetDestDir(File pDir)
Sets, the destination directory, where sources are being generated to.
voidsetSettingLoggerFactory(boolean pSettingLoggerFactory)
Sets, whether the Ant task initializes its own logger factory.

Method Detail

addClasspath

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

doExecute

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

Throws: Exception

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.