public enum AdaptorShutdownPolicy extends Enum<AdaptorShutdownPolicy>
Enum Constant and Description |
---|
GRACEFULLY |
HARD_STOP |
RESTARTING |
WAIT_TILL_FINISHED |
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static AdaptorShutdownPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AdaptorShutdownPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AdaptorShutdownPolicy HARD_STOP
public static final AdaptorShutdownPolicy GRACEFULLY
public static final AdaptorShutdownPolicy WAIT_TILL_FINISHED
public static final AdaptorShutdownPolicy RESTARTING
public static AdaptorShutdownPolicy[] values()
for (AdaptorShutdownPolicy c : AdaptorShutdownPolicy.values()) System.out.println(c);
public static AdaptorShutdownPolicy 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<AdaptorShutdownPolicy>
Copyright © 2016 Apache Software Foundation. All Rights Reserved.