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<ValueOrExpression<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 <T> void addProperty(PropertyDefinition<T> pd, Collection<T> defaultValues, Collection<ValueOrExpression<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)
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-2018 ForgeRock AS.