T - The data-type of values of the property.D - The type of property definition constructed by this builder.protected abstract static class PropertyDefinition.AbstractBuilder<T,D extends PropertyDefinition<T>> extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
PropertyDefinition.AbstractBuilder(AbstractManagedObjectDefinition<?,?> d,
String propertyName)
Create a property definition builder.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract D |
buildInstance(AbstractManagedObjectDefinition<?,?> d,
String propertyName,
EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<T> defaultBehavior)
Build a property definition based on the properties of this builder.
|
D |
getInstance()
Construct a property definition based on the properties of this
builder.
|
void |
setAdministratorAction(AdministratorAction adminAction)
Set the administrator action.
|
void |
setDefaultBehaviorProvider(DefaultBehaviorProvider<T> defaultBehavior)
Set the default behavior provider.
|
void |
setOption(PropertyOption option)
Add a property definition option.
|
protected PropertyDefinition.AbstractBuilder(AbstractManagedObjectDefinition<?,?> d, String propertyName)
d - The managed object definition associated with this
property definition.propertyName - The property name.public final D getInstance()
public final void setAdministratorAction(AdministratorAction adminAction)
adminAction - The administrator action.public final void setDefaultBehaviorProvider(DefaultBehaviorProvider<T> defaultBehavior)
defaultBehavior - The default behavior provider.public final void setOption(PropertyOption option)
option - The property option.protected abstract D buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<T> defaultBehavior)
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 © 2011-2015 ForgeRock AS. All Rights Reserved.