public static class CommandlineJava.SysProperties extends Environment implements java.lang.Cloneable
Environment.Variable
variables
Constructor and Description |
---|
CommandlineJava.SysProperties() |
Modifier and Type | Method and Description |
---|---|
void |
addDefinitionsToList(java.util.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.
|
java.lang.Object |
clone()
Create a deep clone.
|
java.lang.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()
Get the size of the sysproperties instance.
|
addVariable, getVariablesVector
public java.lang.String[] getVariables() throws BuildException
getVariables
in class Environment
BuildException
- on error.public void addDefinitionsToList(java.util.ListIterator listIt)
listIt
- list iterator supporting add method.public int size()
public void setSystem() throws BuildException
BuildException
- if Security prevented this operation.public void restoreSystem() throws BuildException
BuildException
- if Security prevented this operation, or
there were no system properties to restore.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
- for signature.public void addSyspropertyset(PropertySet ps)
ps
- the new property set.public void addSysproperties(CommandlineJava.SysProperties ps)
ps
- the new property set.