Enum Class PropertyOption

java.lang.Object
java.lang.Enum<PropertyOption>
org.forgerock.opendj.config.PropertyOption
All Implemented Interfaces:
Serializable, Comparable<PropertyOption>, java.lang.constant.Constable

public enum PropertyOption extends Enum<PropertyOption>
This enumeration contains various options that can be associated with property definitions.
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    Use this option to identify properties which should be considered as advanced and should not be exposed by default in client applications.
    Use this option to identify properties which must not be directly exposed in client applications.
    Use this option to identify properties which must have a value.
    Use this option to identify properties which are for monitoring purposes only and are generated automatically by the server.
    Use this option to identify properties which are multi-valued.
    Use this option to identify properties which can be initialized once only and are read-only thereafter.
    Use this option to identify properties which must not have a value directly set by users.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the enum constant of this class with the specified name.
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • ADVANCED

      public static final PropertyOption ADVANCED
      Use this option to identify properties which should be considered as advanced and should not be exposed by default in client applications.
    • HIDDEN

      public static final PropertyOption HIDDEN
      Use this option to identify properties which must not be directly exposed in client applications.
    • VIRTUAL

      public static final PropertyOption VIRTUAL
      Use this option to identify properties which must not have a value directly set by users. Instead the value must be derived by its default-behaviour clause, for example by using the inherited clause.

      A virtual property is both HIDDEN and READ_ONLY at the same time.

    • MANDATORY

      public static final PropertyOption MANDATORY
      Use this option to identify properties which must have a value.
    • MULTI_VALUED

      public static final PropertyOption MULTI_VALUED
      Use this option to identify properties which are multi-valued.
    • READ_ONLY

      public static final PropertyOption READ_ONLY
      Use this option to identify properties which can be initialized once only and are read-only thereafter.
    • MONITORING

      public static final PropertyOption MONITORING
      Use this option to identify properties which are for monitoring purposes only and are generated automatically by the server.

      A monitoring property is also READ_ONLY.

  • Method Details

    • values

      public static PropertyOption[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static PropertyOption valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null