Package jetbrains.buildServer.util
Enum Win32RegistryAccessor.Hive
- java.lang.Object
-
- java.lang.Enum<Win32RegistryAccessor.Hive>
-
- jetbrains.buildServer.util.Win32RegistryAccessor.Hive
-
- All Implemented Interfaces:
Serializable
,Comparable<Win32RegistryAccessor.Hive>
- Enclosing interface:
- Win32RegistryAccessor
public static enum Win32RegistryAccessor.Hive extends Enum<Win32RegistryAccessor.Hive>
Registry hive
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLASSES_ROOT
CURRENT_USER
LOCAL_MACHINE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Win32RegistryAccessor.Hive
valueOf(String name)
Returns the enum constant of this type with the specified name.static Win32RegistryAccessor.Hive[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LOCAL_MACHINE
public static final Win32RegistryAccessor.Hive LOCAL_MACHINE
-
CURRENT_USER
public static final Win32RegistryAccessor.Hive CURRENT_USER
-
CLASSES_ROOT
public static final Win32RegistryAccessor.Hive CLASSES_ROOT
-
-
Method Detail
-
values
public static Win32RegistryAccessor.Hive[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Win32RegistryAccessor.Hive c : Win32RegistryAccessor.Hive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Win32RegistryAccessor.Hive valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-