|
||||||||||
| 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
de.dokutransdata.nsd2ltx.Nsd2LtxTask
public class Nsd2LtxTask
Ant task for Nsd2Ltx. This task provides a mapping between
all current Nsd2Ltx configuration file options (as of 1.2.18)
and Ant build fileset.
| Field Summary | |
|---|---|
static java.lang.String |
CONFIG_FILE
Name of the temporary configuration file that will be created in ${user.home}. |
| 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 | |
|---|---|
Nsd2LtxTask()
Initializes the Nsd2Ltx Configuration options. |
|
| Method Summary | |
|---|---|
void |
activityLog(boolean terseMessage,
java.lang.String theMessage)
This method allows a single point of control over the task output verbosity. |
void |
add(org.apache.tools.ant.types.FileSet f)
Callback-Methode um eingeschachtelte <fileset>-Elemente einfügen zu können. |
void |
execute()
This is the main execution entry-point of the task. |
boolean |
getDescription_structo()
|
java.lang.String |
getOutput_directory()
|
java.lang.String |
getOutput_mode()
|
java.lang.String |
getVersionCompatible()
|
void |
setConfigFilename(java.lang.String attr)
Core Ant task element which specifies an non-generated Nsd2Ltx base configuration file. |
void |
setDescription_structo(boolean newValue)
Callback-Methode für den Ant-Prozess zum Setzen des Attributes description_structo |
void |
setNsd2LtxPath(java.lang.String attr)
Core Ant task element which specifies a path to the Nsd2Ltx executable. |
void |
setOutput_directory(java.lang.String newValue)
Callback-Methode für den Ant-Prozess zum Setzen des Attributes output_directory |
void |
setOutput_mode(java.lang.String newMode)
Callback-Methode für den Ant-Prozess zum Setzen des Attributes output_mode |
void |
setVerbose(boolean attr)
Core Ant task element that controls the output verbosity of this Ant task. |
void |
setVersionCompatible(java.lang.String newVersion)
|
| 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 |
|---|
public static final java.lang.String CONFIG_FILE
| Constructor Detail |
|---|
public Nsd2LtxTask()
| Method Detail |
|---|
public void add(org.apache.tools.ant.types.FileSet f)
f - from build.xmlpublic void setOutput_mode(java.lang.String newMode)
output_mode
newMode - Neuer Wert (wird nicht geprüft!) aus build.xmlpublic java.lang.String getOutput_mode()
public void setDescription_structo(boolean newValue)
description_structo
newValue - Neuer Wert aus build.xmlpublic boolean getDescription_structo()
public void setOutput_directory(java.lang.String newValue)
output_directory
newValue - Neues Verzeichnis (wird nicht geprüft!) aus build.xmlpublic java.lang.String getOutput_directory()
public final void execute()
throws org.apache.tools.ant.BuildException
execute in class org.apache.tools.ant.Taskorg.apache.tools.ant.BuildException - thrown in case any problem executing
the task.public final void setVersionCompatible(java.lang.String newVersion)
newVersion - Sets the version against which compatibility
check is to be run.public final java.lang.String getVersionCompatible()
public final void setVerbose(boolean attr)
attr - from build.xml.public final void setConfigFilename(java.lang.String attr)
attr - from build.xml.public final void setNsd2LtxPath(java.lang.String attr)
attr - from build.xml.
public final void activityLog(boolean terseMessage,
java.lang.String theMessage)
terseMessage - is a flag that indicates the calling code
wants this message to appear regardless of the current
verbosity level.theMessage - to be output, guard condition permitting.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||