Enum Class RegistryType

java.lang.Object
java.lang.Enum<RegistryType>
org.wso2.carbon.context.RegistryType
All Implemented Interfaces:
Serializable, Comparable<RegistryType>, Constable

public enum RegistryType extends Enum<RegistryType>
An enumeration of types describing the type of registry used. The proper registry type must be used when obtaining an instance of the registry from the carbon context.
  • Enum Constant Details

    • USER_CONFIGURATION

      public static final RegistryType USER_CONFIGURATION
      The configuration registry of the currently logged in user.
    • USER_GOVERNANCE

      public static final RegistryType USER_GOVERNANCE
      The governance registry of the currently logged in user.
    • SYSTEM_CONFIGURATION

      public static final RegistryType SYSTEM_CONFIGURATION
      The configuration registry of the system.
    • SYSTEM_GOVERNANCE

      public static final RegistryType SYSTEM_GOVERNANCE
      The governance registry of the system.
    • LOCAL_REPOSITORY

      public static final RegistryType LOCAL_REPOSITORY
      The local repository of the system.
  • Method Details

    • values

      public static RegistryType[] 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 RegistryType 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