Package org.forgerock.opendj.config
Class ClassPropertyDefinition.Builder
- java.lang.Object
-
- org.forgerock.opendj.config.PropertyDefinition.AbstractBuilder<String,ClassPropertyDefinition>
-
- org.forgerock.opendj.config.ClassPropertyDefinition.Builder
-
- Enclosing class:
- ClassPropertyDefinition
public static final class ClassPropertyDefinition.Builder extends PropertyDefinition.AbstractBuilder<String,ClassPropertyDefinition>
An interface for incrementally constructing class property definitions.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addInstanceOf(String className)
Add an class name which property values must implement.protected ClassPropertyDefinition
buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<ValueOrExpression<String>> defaultBehavior)
Build a property definition based on the properties of this builder.-
Methods inherited from class org.forgerock.opendj.config.PropertyDefinition.AbstractBuilder
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption
-
-
-
-
Method Detail
-
addInstanceOf
public void addInstanceOf(String className)
Add an class name which property values must implement.- Parameters:
className
- The name of a class which property values must implement.
-
buildInstance
protected ClassPropertyDefinition buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<ValueOrExpression<String>> defaultBehavior)
Description copied from class:PropertyDefinition.AbstractBuilder
Build a property definition based on the properties of this builder.- Specified by:
buildInstance
in classPropertyDefinition.AbstractBuilder<String,ClassPropertyDefinition>
- Parameters:
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.- Returns:
- The new property definition.
-
-