Package org.forgerock.opendj.config
Class AbsoluteInheritedDefaultBehaviorProvider<T>
java.lang.Object
org.forgerock.opendj.config.DefaultBehaviorProvider<T>
org.forgerock.opendj.config.AbsoluteInheritedDefaultBehaviorProvider<T>
- Type Parameters:
T
- The type of values represented by this provider.
A default behavior provider which retrieves default values from a managed
object in an absolute location. It should be used by properties which inherit
their default value(s) from properties held in an other managed object.
-
Constructor Summary
ConstructorDescriptionAbsoluteInheritedDefaultBehaviorProvider
(String pathString, String propertyName) Create an absolute inherited default behavior provider associated with the managed object at the specified absolute location. -
Method Summary
Modifier and TypeMethodDescription<R,
P> R accept
(DefaultBehaviorProviderVisitor<T, R, P> v, P p) Apply a visitor to this default behavior provider.Get the definition of the parent managed object containing the inherited default values.ManagedObjectPath<?,
?> Get the absolute path of the managed object containing the property which has the default values.Gets the name of the property containing the inherited default values.protected void
Performs any run-time initialization required by this default behavior provider.
-
Constructor Details
-
AbsoluteInheritedDefaultBehaviorProvider
Create an absolute inherited default behavior provider associated with the managed object at the specified absolute location.- Parameters:
pathString
- The string representation of the managed object path specifying the absolute location of the managed object.propertyName
- The name of the property containing the inherited default values.
-
-
Method Details
-
accept
Description copied from class:DefaultBehaviorProvider
Apply a visitor to this default behavior provider.- Specified by:
accept
in classDefaultBehaviorProvider<T>
- Type Parameters:
R
- The return type of the visitor's methods.P
- The type of the additional parameters to the visitor's methods.- Parameters:
v
- The default behavior visitor.p
- Optional additional visitor parameter.- Returns:
- Returns a result as specified by the visitor.
-
getManagedObjectDefinition
Get the definition of the parent managed object containing the inherited default values.- Returns:
- Returns the definition of the parent managed object containing the inherited default values.
-
getManagedObjectPath
Get the absolute path of the managed object containing the property which has the default values.- Returns:
- Returns the absolute path of the managed object containing the property which has the default values.
-
getPropertyName
Gets the name of the property containing the inherited default values.- Returns:
- Returns the name of the property containing the inherited default values.
-
initialize
Description copied from class:DefaultBehaviorProvider
Performs any run-time initialization required by this default behavior provider. This may include resolving managed object paths and property names.The default implementation is to do nothing.
- Overrides:
initialize
in classDefaultBehaviorProvider<T>
- Throws:
IllegalArgumentException
-