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 Details

    • Builder

      public Builder(ManagedObjectDefinition<C,S> definition)
      Creates a new default managed object builder.
      Parameters:
      definition - The default managed object's definition.
  • Method Details

    • 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.
    • setPropertyValues

      public void setPropertyValues(String name, String... values)
      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.