public enum RegistrationType extends java.lang.Enum<RegistrationType>
Enum Constant and Description |
---|
DELETION |
NONE |
REACTIVATION |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
COBBLER_VAR |
Modifier and Type | Method and Description |
---|---|
static RegistrationType |
find(java.lang.String regType)
Find the registration type given a string
|
static RegistrationType |
findDefault(java.lang.String regType,
RegistrationType def)
Find the registration type given a string
|
static RegistrationType |
getDefault() |
java.lang.String |
getType() |
static RegistrationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RegistrationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RegistrationType REACTIVATION
public static final RegistrationType DELETION
public static final RegistrationType NONE
public static final java.lang.String COBBLER_VAR
public static RegistrationType[] values()
for (RegistrationType c : RegistrationType.values()) System.out.println(c);
public static RegistrationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getType()
public static RegistrationType find(java.lang.String regType)
regType
- the string to search onpublic static RegistrationType findDefault(java.lang.String regType, RegistrationType def)
regType
- the string to search ondef
- is not registration type is found the default will be returnedpublic static RegistrationType getDefault()