public class BatteryTestConfig
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
BatteryTestConfig.Property |
| Constructor and Description |
|---|
BatteryTestConfig(java.lang.String name) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addProperty(java.lang.String key,
java.lang.Object val) |
void |
fillInWithDefaultsFrom(java.lang.String fn)
Adds default values for properties that are not already defined.
|
java.lang.String |
getName() |
protected java.util.Vector |
getProperties() |
protected BatteryTestConfig.Property |
getProperty(java.lang.String key) |
protected java.lang.String |
getPropertyKeyString(java.lang.String val) |
protected java.lang.String |
getPropertyString() |
protected java.lang.Object |
getPropertyVal(java.lang.String key) |
java.util.SortedMap |
getSortedProperties() |
protected void |
postprocess()
Sets this config to postprocessed.
|
protected boolean |
postprocessed()
Answers whether this config has been postprocessed.
|
protected void |
resetProperty(java.lang.String key,
java.lang.Object val)
Reset a property to a new value, or add the property if not already there.
|
protected void |
setProperties(java.util.Vector properties) |
java.lang.String |
toString() |
protected java.lang.String |
toTestProps() |
protected java.lang.String |
toTestSpec() |
protected java.lang.String |
toTestString() |
protected void |
writePropertiesToFile(java.lang.String fn) |
public java.lang.String getName()
protected java.util.Vector getProperties()
public java.util.SortedMap getSortedProperties()
protected void setProperties(java.util.Vector properties)
protected java.lang.String getPropertyKeyString(java.lang.String val)
protected java.lang.String getPropertyString()
protected BatteryTestConfig.Property getProperty(java.lang.String key)
protected java.lang.Object getPropertyVal(java.lang.String key)
protected void resetProperty(java.lang.String key,
java.lang.Object val)
protected void addProperty(java.lang.String key,
java.lang.Object val)
protected boolean postprocessed()
protected void postprocess()
public void fillInWithDefaultsFrom(java.lang.String fn)
protected void writePropertiesToFile(java.lang.String fn)
protected java.lang.String toTestString()
protected java.lang.String toTestSpec()
protected java.lang.String toTestProps()
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.