Package org.forgerock.opendj.config
Class DefaultManagedObject.Builder<C extends ConfigurationClient,S extends Configuration>
- java.lang.Object
-
- org.forgerock.opendj.config.DefaultManagedObject.Builder<C,S>
-
- Type Parameters:
C
- The type of client default managed object configuration.S
- The type of server default managed object configuration.
- Enclosing class:
- DefaultManagedObject<C extends ConfigurationClient,S extends Configuration>
public static final class DefaultManagedObject.Builder<C extends ConfigurationClient,S extends Configuration> extends Object
An interface for incrementally constructing default managed objects.
-
-
Constructor Summary
Constructors Constructor Description Builder(ManagedObjectDefinition<C,S> definition)
Creates a new default managed object builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DefaultManagedObject<C,S>
getInstance()
Construct a default managed object based on the properties of this builder.void
setPropertyValues(String name, String... values)
Defines a property's values for the default managed object.
-
-
-
Constructor Detail
-
Builder
public Builder(ManagedObjectDefinition<C,S> definition)
Creates a new default managed object builder.- Parameters:
definition
- The default managed object's definition.
-
-
Method Detail
-
getInstance
public DefaultManagedObject<C,S> getInstance()
Construct a default managed object based on the properties of this builder.- Returns:
- Returns the new default managed object.
-
-