public class VersionDescription extends AbstractDescription implements Serializable
| Constructor and Description |
|---|
VersionDescription() |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
configure(TestConfig config)
Creates version descriptions from the version parameters in the test
configuration.
|
static String |
dotVersionFor(String version)
Converts the version string to a dotted format, for example, "100" to "1.0.0".
|
protected String |
getClassPath(VmDescription vmd,
String version,
String javaHome)
Returns the classpath for the given host.
|
String |
getGemFireHome()
Returns the gemfire home.
|
static String |
getGemFireHome(String version)
Returns the path to the gemfire release corresponding to the given version.
|
protected String |
getGemFireHome(VmDescription vmd,
String version)
Returns the gemfire home for the version.
|
protected String |
getLibPath(VmDescription vmd,
String version,
String javaHome)
Returns the library path for the given host.
|
String |
getName()
Returns the logical name of this version description.
|
String |
getVersion()
Returns the version.
|
protected Map<String,String> |
getVersionMapping()
Returns the mapping of versions fo gemfire homes.
|
Set<String> |
getVersions()
Returns the versions.
|
SortedMap |
toSortedMap()
Returns a sorted map of description fields and their values.
|
addProperties, asList, convertPrm, convertPrmDefault, getBooleanFor, getClass, getClassname, getInstance, getIntegerFor, getNonnegativeIntegerFor, getParametersAndDefaults, getPath, getSSLDescription, loadClass, parseMethod, toStringpublic String getName()
public String getGemFireHome()
public String getVersion()
protected Map<String,String> getVersionMapping()
protected String getGemFireHome(VmDescription vmd, String version)
protected String getClassPath(VmDescription vmd, String version, String javaHome)
protected String getLibPath(VmDescription vmd, String version, String javaHome)
public SortedMap toSortedMap()
AbstractDescriptiontoSortedMap in class AbstractDescriptionprotected static void configure(TestConfig config)
public static String getGemFireHome(String version)
Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.