public static enum FailureHandler.Outcome extends Enum<FailureHandler.Outcome>
Enum Constant and Description |
---|
ABORT
Abort the relaunch.
|
RETRY
Try again to relaunch the application.
|
Modifier and Type | Method and Description |
---|---|
static FailureHandler.Outcome |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FailureHandler.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FailureHandler.Outcome ABORT
public static final FailureHandler.Outcome RETRY
public static FailureHandler.Outcome[] values()
for (FailureHandler.Outcome c : FailureHandler.Outcome.values()) System.out.println(c);
public static FailureHandler.Outcome 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 © 2018 Pivotal Software, Inc.. All rights reserved.