public class DefaultConfigurationProperty extends Object implements ConfigurationProperty
Constructor and Description |
---|
DefaultConfigurationProperty(String name,
List<String> values)
Construct a configuration property.
|
public DefaultConfigurationProperty(String name, List<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 String getName()
ConfigurationProperty
getName
in interface ConfigurationProperty
public List<String> getValues()
ConfigurationProperty
getValues
in interface ConfigurationProperty
Copyright © 2018. All rights reserved.