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
ConstructorDescriptionBuilder
(ManagedObjectDefinition<C, S> definition) Creates a new default managed object builder. -
Method Summary
Modifier and TypeMethodDescriptionConstruct 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 Details
-
Builder
Creates a new default managed object builder.- Parameters:
definition
- The default managed object's definition.
-
-
Method Details
-
getInstance
Construct a default managed object based on the properties of this builder.- Returns:
- Returns the new default managed object.
-
setPropertyValues
Defines a property's values for the default managed object.- Parameters:
name
- The name of the property.values
- One or more property values in the string representation.
-