public static enum ShutdownUtil.Hook.Priority extends Enum<ShutdownUtil.Hook.Priority>
Enum Constant and Description |
---|
FIRST |
LAST |
SERVICE_CONSUMER |
SERVICE_PROVIDER |
WORK_CHILD |
WORK_PARENT |
Modifier and Type | Method and Description |
---|---|
static ShutdownUtil.Hook.Priority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ShutdownUtil.Hook.Priority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ShutdownUtil.Hook.Priority FIRST
public static final ShutdownUtil.Hook.Priority WORK_PARENT
public static final ShutdownUtil.Hook.Priority WORK_CHILD
public static final ShutdownUtil.Hook.Priority SERVICE_CONSUMER
public static final ShutdownUtil.Hook.Priority SERVICE_PROVIDER
public static final ShutdownUtil.Hook.Priority LAST
public static ShutdownUtil.Hook.Priority[] values()
for (ShutdownUtil.Hook.Priority c : ShutdownUtil.Hook.Priority.values()) System.out.println(c);
public static ShutdownUtil.Hook.Priority 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 nullCopyright © 2007-2015 Concurrent, Inc. All Rights Reserved.