|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.sandev.sandbuild.SandTask
org.sandev.sandbuild.SandGenDecl
Declare a generator to be run as part of the build. Generators are
used for metacoding. See the SandGenerator interface for
details.
Generators are run in the order in which they are declared.
Generator declarations for a required project are added at the point
where the requiredproject declaration is processed.
| Field Summary | |
protected boolean |
changed
Setting this field to true will force the generator to be rebuilt when the build is run. |
protected java.lang.String |
classFile
The class file is set when the build checks the generator for updates. |
protected java.lang.String |
classname
The fully qualified class name of the generator to run. |
protected java.lang.String |
extra
This field can be set to hold any additional information that should be passed to the generator at runtime. |
protected java.lang.String |
projName
The project this generator is associated with. |
protected java.lang.String |
runscope
What the scope of the generator runtime should be. |
protected java.lang.String |
source
What source this generator uses. |
protected java.lang.String |
sourcescope
What the scope of the required input should be. |
| 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 | |
SandGenDecl()
|
|
| Method Summary | |
void |
execute()
See class comments. |
java.lang.String |
getClassFile()
|
java.lang.String |
getClassname()
|
java.lang.String |
getExtra()
|
java.lang.String |
getProjName()
|
java.lang.String |
getRunscope()
|
java.lang.String |
getSource()
|
java.lang.String |
getSourcescope()
|
boolean |
hasChanged()
|
void |
setChanged(boolean changed)
|
void |
setClassFile(java.lang.String filename)
|
void |
setClassname(java.lang.String classname)
|
void |
setExtra(java.lang.String extra)
|
void |
setProjName(java.lang.String name)
|
void |
setRunscope(java.lang.String runscope)
|
void |
setSource(java.lang.String source)
|
void |
setSourcescope(java.lang.String scope)
|
| Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
| 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 |
| Field Detail |
protected java.lang.String classname
protected java.lang.String source
protected java.lang.String sourcescope
protected java.lang.String runscope
protected java.lang.String projName
protected boolean changed
protected java.lang.String extra
protected java.lang.String classFile
| Constructor Detail |
public SandGenDecl()
| Method Detail |
public void setClassname(java.lang.String classname)
public java.lang.String getClassname()
public void setSource(java.lang.String source)
public java.lang.String getSource()
public void setSourcescope(java.lang.String scope)
public java.lang.String getSourcescope()
public void setRunscope(java.lang.String runscope)
public java.lang.String getRunscope()
public void setProjName(java.lang.String name)
public java.lang.String getProjName()
public void setChanged(boolean changed)
public boolean hasChanged()
public void setExtra(java.lang.String extra)
public java.lang.String getExtra()
public void setClassFile(java.lang.String filename)
public java.lang.String getClassFile()
public void execute()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||