Package org.wso2.carbon.context
Enum Class RegistryType
- All Implemented Interfaces:
Serializable,Comparable<RegistryType>,Constable
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe local repository of the system.The configuration registry of the system.The governance registry of the system.The configuration registry of the currently logged in user.The governance registry of the currently logged in user. -
Method Summary
Modifier and TypeMethodDescriptionstatic RegistryTypeReturns the enum constant of this class with the specified name.static RegistryType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
USER_CONFIGURATION
The configuration registry of the currently logged in user. -
USER_GOVERNANCE
The governance registry of the currently logged in user. -
SYSTEM_CONFIGURATION
The configuration registry of the system. -
SYSTEM_GOVERNANCE
The governance registry of the system. -
LOCAL_REPOSITORY
The local repository of the system.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-