Package com.google.gwt.core.ext
Class DefaultConfigurationProperty
java.lang.Object
com.google.gwt.core.ext.DefaultConfigurationProperty
- All Implemented Interfaces:
ConfigurationProperty
Default immutable implementation of ConfigurationProperty that receives its
values in its constructor.
-
Constructor Summary
ConstructorDescriptionDefaultConfigurationProperty
(String name, List<String> values) Construct a configuration property. -
Method Summary
-
Constructor Details
-
DefaultConfigurationProperty
Construct a configuration property.- Parameters:
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 later
-
-
Method Details
-
equals
-
getName
Description copied from interface:ConfigurationProperty
The name of the property.- Specified by:
getName
in interfaceConfigurationProperty
- Returns:
- the property name as a String.
-
getValues
Description copied from interface:ConfigurationProperty
The values for the permutation currently being considered.- Specified by:
getValues
in interfaceConfigurationProperty
- Returns:
- the property values as a List of Strings.
-
hashCode
public int hashCode() -
toString
-