public final class PropertySet extends Object
Constructor and Description |
---|
PropertySet()
Creates a new empty property set.
|
Modifier and Type | Method and Description |
---|---|
<T> void |
addProperty(PropertyDefinition<T> pd,
Collection<T> defaultValues,
Collection<T> activeValues)
Creates a property with the provided sets of pre-validated
default and active values.
|
<T> Property<T> |
getProperty(PropertyDefinition<T> d)
Get the property associated with the specified property
definition.
|
String |
toString() |
public PropertySet()
public <T> void addProperty(PropertyDefinition<T> pd, Collection<T> defaultValues, Collection<T> activeValues)
T
- The type of the property.pd
- The property definition.defaultValues
- The set of default values for the property.activeValues
- The set of active values for the property.public <T> Property<T> getProperty(PropertyDefinition<T> d) throws IllegalArgumentException
T
- The underlying type of the property.d
- The Property definition.IllegalArgumentException
- If this property provider does not recognise the
requested property definition.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.