Class DefaultConfigurationProperty

java.lang.Object
org.gwtproject.ext.DefaultConfigurationProperty
All Implemented Interfaces:
ConfigurationProperty

public class DefaultConfigurationProperty
extends java.lang.Object
implements ConfigurationProperty
Default immutable implementation of ConfigurationProperty that receives its values in its constructor.
  • Constructor Summary

    Constructors
    Constructor Description
    DefaultConfigurationProperty​(java.lang.String name, java.util.List<java.lang.String> values)
    Construct a configuration property.
  • Method Summary

    Modifier and Type Method Description
    java.lang.Boolean asSingleBooleanValue()  
    java.lang.String asSingleValue()  
    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()  

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • DefaultConfigurationProperty

      public DefaultConfigurationProperty​(java.lang.String name, java.util.List<java.lang.String> values)
      Construct a configuration property.
      Parameters:
      name - the name of this property, must not be null
      values - 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