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
Modifier and TypeMethodDescriptionvoid
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, Deprecated deprecated) Build a property definition based on the properties of this builder.Methods inherited from class org.forgerock.opendj.config.PropertyDefinition.AbstractBuilder
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setDeprecated, setOption
-
Method Details
-
addInstanceOf
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, Deprecated deprecated) 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.deprecated
- The deprecation description.- Returns:
- The new property definition.
-