Package org.forgerock.opendj.config
Class AliasDefaultBehaviorProvider<T>
java.lang.Object
org.forgerock.opendj.config.DefaultBehaviorProvider<T>
org.forgerock.opendj.config.AliasDefaultBehaviorProvider<T>
- Type Parameters:
T
- The type of values represented by this provider.
A default behavior provider which indicates special behavior. It should be
used by properties which have a default behavior which cannot be directly
represented using real values of the property. For example, a property
containing a set of user names might default to "all users" when no values
are provided. This meaning cannot be represented using a finite set of
values.
-
Constructor Summary
ConstructorDescriptionAliasDefaultBehaviorProvider
(AbstractManagedObjectDefinition<?, ?> d, String propertyName) Create an alias default behavior provider. -
Method Summary
Modifier and TypeMethodDescription<R,
P> R accept
(DefaultBehaviorProviderVisitor<T, R, P> v, P p) Apply a visitor to this default behavior provider.Gets the synopsis of this alias default behavior in the default locale.getSynopsis
(Locale locale) Gets the synopsis of this alias default behavior in the specified locale.Methods inherited from class org.forgerock.opendj.config.DefaultBehaviorProvider
initialize
-
Constructor Details
-
AliasDefaultBehaviorProvider
Create an alias default behavior provider.- Parameters:
d
- The managed object definition associated with this default behavior.propertyName
- The name of the property definition associated with this default behavior.
-
-
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.
-
getSynopsis
Gets the synopsis of this alias default behavior in the default locale.- Returns:
- Returns the synopsis of this alias default behavior in the default locale.
-
getSynopsis
Gets the synopsis of this alias default behavior in the specified locale.- Parameters:
locale
- The locale.- Returns:
- Returns the synopsis of this alias default behavior in the specified locale.
-