public class DefaultConfigurationProperty extends java.lang.Object implements ConfigurationProperty
Constructor and Description |
---|
DefaultConfigurationProperty(java.lang.String name,
java.util.List<java.lang.String> values)
Construct a configuration property.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getName()
The name of the property.
|
java.util.List<java.lang.String> |
getValues()
The values for the permutation currently being considered.
|
int |
hashCode() |
java.lang.String |
toString() |
public DefaultConfigurationProperty(java.lang.String name, java.util.List<java.lang.String> values)
name
- the name of this property, must not be nullvalues
- the list of possible values, must not be null and
will be returned to callers, so a copy should be passed into this
ctor if the caller will use this set laterpublic boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String getName()
ConfigurationProperty
getName
in interface ConfigurationProperty
public java.util.List<java.lang.String> getValues()
ConfigurationProperty
getValues
in interface ConfigurationProperty
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object