C
- The type of client managed object configuration that
this aggregation property definition refers to.S
- The type of server managed object configuration that
this aggregation property definition refers to.public static class AggregationPropertyDefinition.Builder<C extends ConfigurationClient,S extends Configuration> extends PropertyDefinition.AbstractBuilder<String,AggregationPropertyDefinition<C,S>>
Modifier and Type | Method and Description |
---|---|
protected AggregationPropertyDefinition<C,S> |
buildInstance(AbstractManagedObjectDefinition<?,?> d,
String propertyName,
EnumSet<PropertyOption> options,
AdministratorAction adminAction,
DefaultBehaviorProvider<String> defaultBehavior)
Build a property definition based on the properties of this
builder.
|
void |
setParentPath(String pathString)
Sets the name of the managed object which is the parent of the
aggregated managed objects.
|
void |
setRelationDefinition(String rdName)
Sets the relation in the parent managed object which contains
the aggregated managed objects.
|
void |
setTargetIsEnabledCondition(Condition condition)
Sets the condition which is used to determine if a referenced
managed object is enabled.
|
void |
setTargetNeedsEnablingCondition(Condition condition)
Sets the condition which is used to determine whether or not
referenced managed objects need to be enabled.
|
getInstance, setAdministratorAction, setDefaultBehaviorProvider, setOption
public final void setParentPath(String pathString)
This must be defined before the property definition can be built.
pathString
- The string representation of the managed object path
specifying the parent of the aggregated managed
objects.public final void setRelationDefinition(String rdName)
This must be defined before the property definition can be built.
rdName
- The name of a relation in the parent managed object
which contains the aggregated managed objects.public final void setTargetIsEnabledCondition(Condition condition)
condition
- The condition which is used to determine if a
referenced managed object is enabled.public final void setTargetNeedsEnablingCondition(Condition condition)
condition
- The condition which is used to determine whether or
not referenced managed objects need to be enabled.protected AggregationPropertyDefinition<C,S> buildInstance(AbstractManagedObjectDefinition<?,?> d, String propertyName, EnumSet<PropertyOption> options, AdministratorAction adminAction, DefaultBehaviorProvider<String> defaultBehavior)
buildInstance
in class PropertyDefinition.AbstractBuilder<String,AggregationPropertyDefinition<C extends ConfigurationClient,S extends Configuration>>
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.Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.