public static enum CancelReasons.CancelReason extends Enum<CancelReasons.CancelReason>
| Enum Constant and Description |
|---|
CancelCommandIssued |
MonitorEnded |
MonitorPingOverdue |
TerminateButtonPressed |
| Modifier and Type | Method and Description |
|---|---|
String |
getText() |
static CancelReasons.CancelReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CancelReasons.CancelReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CancelReasons.CancelReason MonitorEnded
public static final CancelReasons.CancelReason MonitorPingOverdue
public static final CancelReasons.CancelReason CancelCommandIssued
public static final CancelReasons.CancelReason TerminateButtonPressed
public static CancelReasons.CancelReason[] values()
for (CancelReasons.CancelReason c : CancelReasons.CancelReason.values()) System.out.println(c);
public static CancelReasons.CancelReason 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 getText()
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.