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.

public final class AliasDefaultBehaviorProvider<T> extends DefaultBehaviorProvider<T>
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 Details

    • AliasDefaultBehaviorProvider

      public AliasDefaultBehaviorProvider(AbstractManagedObjectDefinition<?,?> d, String propertyName)
      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

      public <R, P> R accept(DefaultBehaviorProviderVisitor<T,R,P> v, P p)
      Description copied from class: DefaultBehaviorProvider
      Apply a visitor to this default behavior provider.
      Specified by:
      accept in class DefaultBehaviorProvider<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

      public LocalizableMessage 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

      public LocalizableMessage getSynopsis(Locale locale)
      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.