org.eclipse.test.internal.performance.db
Class Variations
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable<java.lang.Object,java.lang.Object>
java.util.Properties
org.eclipse.test.internal.performance.db.Variations
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map<java.lang.Object,java.lang.Object>
public class Variations
- extends java.util.Properties
The Variations
class represents a set of key/value pairs
and is used to tag data stored in the performance database and when
querying for data from the database.
- See Also:
- Serialized Form
Constructor Summary |
Variations()
Creates an empty set of key/value pairs. |
Variations(java.lang.String keyValuePairs)
Creates a set of key/value pairs by parsing the given string. |
Variations(java.lang.String configValue,
java.lang.String buildValue)
Deprecated. Use the default constructor instead and fill in key/value pairs explicitely. |
Methods inherited from class java.util.Properties |
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames |
Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, remove, size, toString, values |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
Variations
public Variations()
- Creates an empty set of key/value pairs.
Variations
public Variations(java.lang.String configValue,
java.lang.String buildValue)
- Deprecated. Use the default constructor instead and fill in key/value pairs explicitely.
- Creates a Variations object that is populated with a "config" and a "build" key/value pair.
- Parameters:
configValue
- a value to store under the config keybuildValue
- a value to store under the build key
Variations
public Variations(java.lang.String keyValuePairs)
- Creates a set of key/value pairs by parsing the given string.
The format of the string must be:
key1=value1;key2=value2; .... ; keyn=valuen
- Parameters:
keyValuePairs
-
toExactMatchString
public java.lang.String toExactMatchString()
toQueryPattern
public java.lang.String toQueryPattern()
parsePairs
public void parsePairs(java.lang.String keyvaluepairs)
parseDB
public void parseDB(java.lang.String keyvaluepairs)