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