public enum ActivationMode extends Enum<ActivationMode>
| Modifier and Type | Method and Description |
|---|---|
static ActivationMode |
from(String str,
ActivationMode defaultActivationMode) |
static ActivationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ActivationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ActivationMode ADMIN
public static final ActivationMode USER
public static ActivationMode[] values()
for (ActivationMode c : ActivationMode.values()) System.out.println(c);
public static ActivationMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static ActivationMode from(String str, ActivationMode defaultActivationMode)
Copyright © 2016. All Rights Reserved.