public static enum Process.RunningMode extends Enum<Process.RunningMode>
Enum Constant and Description |
---|
ADMIN_ONLY |
NORMAL |
Modifier and Type | Method and Description |
---|---|
static Process.RunningMode |
from(String runningMode) |
String |
toString() |
static Process.RunningMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Process.RunningMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Process.RunningMode ADMIN_ONLY
public static final Process.RunningMode NORMAL
public static Process.RunningMode[] values()
for (Process.RunningMode c : Process.RunningMode.values()) System.out.println(c);
public static Process.RunningMode 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 String toString()
toString
in class Enum<Process.RunningMode>
public static Process.RunningMode from(String runningMode)
Copyright © 2021 JBoss by Red Hat. All rights reserved.