org.opends.server.admin
Class ClassPropertyDefinition.Builder
java.lang.Object
org.opends.server.admin.PropertyDefinition.AbstractBuilder<java.lang.String,ClassPropertyDefinition>
org.opends.server.admin.ClassPropertyDefinition.Builder
- Enclosing class:
- ClassPropertyDefinition
public static class ClassPropertyDefinition.Builder
- extends PropertyDefinition.AbstractBuilder<java.lang.String,ClassPropertyDefinition>
An interface for incrementally constructing class property
definitions.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
addInstanceOf
public final void addInstanceOf(java.lang.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,
java.lang.String propertyName,
java.util.EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<java.lang.String> defaultBehavior)
- Build a property definition based on the properties of this
builder.
- Specified by:
buildInstance
in class PropertyDefinition.AbstractBuilder<java.lang.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.