public enum TerminationReason extends Enum<TerminationReason>
| Enum Constant and Description |
|---|
deactivated
The subscription has been terminated, but the subscriber
SHOULD retry immediately with a new subscription.
|
extension |
giveup
The subscription has been terminated because the notifier
could not obtain authorization in a timely fashion.
|
noresource
The subscription has been terminated because the resource
state which was being monitored no longer exists.
|
probation
The subscription has been terminated, but the client
SHOULD retry at some later time.
|
rejected
The subscription has been terminated due to change in
authorization policy.
|
timeout
The subscription has been terminated because it was not
refreshed before it expired.
|
| Modifier and Type | Method and Description |
|---|---|
static TerminationReason |
fromString(String s) |
static TerminationReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TerminationReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TerminationReason noresource
public static final TerminationReason rejected
public static final TerminationReason deactivated
public static final TerminationReason probation
public static final TerminationReason timeout
public static final TerminationReason giveup
public static final TerminationReason extension
public static TerminationReason[] values()
for (TerminationReason c : TerminationReason.values()) System.out.println(c);
public static TerminationReason 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 static TerminationReason fromString(String s)
Copyright © 2015. All Rights Reserved.