public class CmsAntTaskReadXMLProperty
extends org.apache.tools.ant.Task
构造器和说明 |
---|
CmsAntTaskReadXMLProperty()
Default constructor.
|
限定符和类型 | 方法和说明 |
---|---|
void |
execute()
Run the task.
|
java.lang.String |
getAttribute()
Returns the optional XML attribute.
|
java.lang.String |
getElement()
Returns the XML element path.
|
java.lang.String |
getProperty()
Returns the property to store the user selection.
|
java.lang.String |
getValue()
Returns the return value.
|
java.lang.String |
getXmlFile()
Returns the xmlFile absolute path.
|
static void |
main(java.lang.String[] args)
Test case.
|
void |
setAttribute(java.lang.String attribute)
Sets the optional XML attribute.
|
void |
setElement(java.lang.String element)
Sets the XML element path.
|
void |
setProperty(java.lang.String property)
Sets the property for storing the selected value.
|
void |
setValue(java.lang.String value)
Sets the return value.
|
void |
setXmlFile(java.lang.String xmlFile)
Sets the xmlFile absolute path.
|
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
public void execute() throws org.apache.tools.ant.BuildException
Sets the given property to __ABORT__
if canceled, or to a list of selected
modules if not.
execute
在类中 org.apache.tools.ant.Task
org.apache.tools.ant.BuildException
- if something goes wrongTask.execute()
public java.lang.String getAttribute()
public java.lang.String getElement()
public java.lang.String getProperty()
public java.lang.String getValue()
public java.lang.String getXmlFile()
public void setAttribute(java.lang.String attribute)
attribute
- the optional XML attribute to setpublic void setElement(java.lang.String element)
element
- the XML element path to setpublic void setProperty(java.lang.String property)
property
- The property to setpublic void setValue(java.lang.String value)
value
- the return value to setpublic void setXmlFile(java.lang.String xmlFile)
xmlFile
- the xmlFile absolute path to setpublic static void main(java.lang.String[] args)
args
- not used