public enum ShutdownPriority extends Enum<ShutdownPriority>
com.sun.identity.common.ShutdownManager
.Enum Constant and Description |
---|
DEFAULT
DEFAULT is the priority pre-defined in the system.
|
HIGHEST
HIGHEST is the priority pre-defined in the system.
|
LOWEST
LOWEST is the priority pre-defined in the system.
|
Modifier and Type | Method and Description |
---|---|
int |
getIntValue()
Returns the priority.
|
static List<ShutdownPriority> |
getPriorities()
Returns list of all the priorities (ordered from the highest to the
lowest priority) defined in the system.
|
static ShutdownPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShutdownPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShutdownPriority HIGHEST
public static final ShutdownPriority DEFAULT
public static final ShutdownPriority LOWEST
public static ShutdownPriority[] values()
for (ShutdownPriority c : ShutdownPriority.values()) System.out.println(c);
public static ShutdownPriority 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 int getIntValue()
public static List<ShutdownPriority> getPriorities()
Copyright © 2010-2020, ForgeRock All Rights Reserved.