public class Configuration extends Object implements Comparable<Configuration>
| Constructor and Description |
|---|
Configuration(Element configuration)
Constructor from an XML element.
|
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(Configuration o) |
boolean |
equals(Object obj) |
Element |
getConfiguration()
Returns the XML element that defines this configuration
|
static Configuration |
getInstance(Element configurationElement)
Factory method
|
int |
hashCode() |
public Configuration(Element configuration)
getInstance(Element) instead for null-safety.configuration - the XML element specifying the configuration
(required)public static Configuration getInstance(Element configurationElement)
configurationElement - the XML node from which to parse the instance
(can be null)null if a null element is givenpublic int compareTo(Configuration o)
compareTo in interface Comparable<Configuration>public Element getConfiguration()
null elementCopyright © 2009–2017 Pivotal Software, Inc.. All rights reserved.