E
- The enumeration that should be used for values of this
property definition.public static class EnumPropertyDefinition.Builder<E extends Enum<E>> extends PropertyDefinition.AbstractBuilder<E,EnumPropertyDefinition<E>>
Modifier and Type | Method and Description |
---|---|
protected EnumPropertyDefinition<E> |
buildInstance(AbstractManagedObjectDefinition<?,?> d,
String propertyName,
EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<E> defaultBehavior)
Build a property definition based on the properties of this
builder.
|
void |
setEnumClass(Class<E> enumClass)
Set the enumeration class which should be used for values of
this property definition.
|
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption
public final void setEnumClass(Class<E> enumClass)
enumClass
- The enumeration class which should be used for values
of this property definition.protected EnumPropertyDefinition<E> buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<E> defaultBehavior)
buildInstance
in class PropertyDefinition.AbstractBuilder<E extends Enum<E>,EnumPropertyDefinition<E extends Enum<E>>>
d
- The managed object definition associated with this
property definition.propertyName
- The property name.options
- Options applicable to this definition.adminAction
- The administrator action.defaultBehavior
- The default behavior provider.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.