public static class DNPropertyDefinition.Builder extends PropertyDefinition.AbstractBuilder<DN,DNPropertyDefinition>
Modifier and Type | Method and Description |
---|---|
protected DNPropertyDefinition |
buildInstance(AbstractManagedObjectDefinition<?,?> d,
String propertyName,
EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<DN> defaultBehavior)
Build a property definition based on the properties of this
builder.
|
void |
setBaseDN(DN baseDN)
Set the base DN which all valid values must be immediately
subordinate to.
|
void |
setBaseDN(String baseDN)
Set the base DN which all valid values must be immediately
subordinate to.
|
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption
public void setBaseDN(String baseDN) throws IllegalArgumentException
baseDN
- The string representation of the base DN.IllegalArgumentException
- If the provided string is not a valid DN string
representation.public void setBaseDN(DN baseDN)
baseDN
- The base DN.protected DNPropertyDefinition buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<DN> defaultBehavior)
buildInstance
in class PropertyDefinition.AbstractBuilder<DN,DNPropertyDefinition>
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.