org.opends.server.admin
Class ClassPropertyDefinition.Builder

java.lang.Object
  extended by org.opends.server.admin.PropertyDefinition.AbstractBuilder<java.lang.String,ClassPropertyDefinition>
      extended by 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.


Method Summary
 void addInstanceOf(java.lang.String className)
          Add an class name which property values must implement.
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.
 
Methods inherited from class org.opends.server.admin.PropertyDefinition.AbstractBuilder
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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.