public final class ConfigurationProperty extends Object implements OriginProvider, Comparable<ConfigurationProperty>
ConfigurationPropertySource
consisting of a name, value and optional
origin.| Constructor and Description |
|---|
ConfigurationProperty(ConfigurationPropertyName name,
Object value,
Origin origin) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConfigurationProperty other) |
boolean |
equals(Object obj) |
ConfigurationPropertyName |
getName() |
Origin |
getOrigin()
Return the source origin or
null if the origin is not known. |
Object |
getValue() |
int |
hashCode() |
String |
toString() |
public ConfigurationProperty(ConfigurationPropertyName name, Object value, Origin origin)
public ConfigurationPropertyName getName()
public Object getValue()
public Origin getOrigin()
OriginProvidernull if the origin is not known.getOrigin in interface OriginProvidernullpublic int compareTo(ConfigurationProperty other)
compareTo in interface Comparable<ConfigurationProperty>Copyright © 2020 Pivotal Software, Inc.. All rights reserved.