org.apache.tools.ant.types
public static class CommandlineJava.SysProperties extends Environment implements Cloneable
Method Summary | |
---|---|
void | addDefinitionsToList(ListIterator listIt)
add all definitions (including property sets) to a list |
void | addSysproperties(CommandlineJava.SysProperties ps)
add a propertyset to the total set |
void | addSyspropertyset(PropertySet ps)
add a propertyset to the total set |
Object | clone()
deep clone |
String[] | getVariables()
get the properties as an array; this is an override of the
superclass, as it evaluates all the properties |
void | restoreSystem()
restore the system properties to the cached value |
void | setSystem()
cache the system properties and set the system properties to the
new values |
int | size()
This method gets the size of the sysproperties instance. |
Parameters: listIt list iterator supporting add method
Parameters: ps the new property set
Since: Ant 1.6.3
Parameters: ps the new property set
Returns: a cloned instance of SysProperties
Throws: CloneNotSupportedException for signature
Returns: the array of definitions; may be null
Throws: BuildException on error
Throws: BuildException if Security prevented this operation, or there was no system properties to restore
Throws: BuildException if Security prevented this operation
Returns: the size of the sysproperties instance