public enum SubscriptionHealthStatus extends Enum<SubscriptionHealthStatus> implements SphereEnumeration
| Enum Constant and Description |
|---|
CONFIGURATION_ERROR
Messages can not be delivered with the current configuration.
|
CONFIGURATION_ERROR_DELIVERY_STOPPED
Messages can not be delivered with the current configuration.
|
HEALTHY
The subscription is delivering messages as expected
|
TEMPORARY_ERROR
Messages can not be delivered currently, but not due to the configuration.
|
| Modifier and Type | Method and Description |
|---|---|
static SubscriptionHealthStatus |
ofSphereValue(String value) |
static SubscriptionHealthStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SubscriptionHealthStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOffindBySphereName, name, toSphereNamepublic static final SubscriptionHealthStatus HEALTHY
public static final SubscriptionHealthStatus CONFIGURATION_ERROR
public static final SubscriptionHealthStatus CONFIGURATION_ERROR_DELIVERY_STOPPED
public static final SubscriptionHealthStatus TEMPORARY_ERROR
public static SubscriptionHealthStatus[] values()
for (SubscriptionHealthStatus c : SubscriptionHealthStatus.values()) System.out.println(c);
public static SubscriptionHealthStatus 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 SubscriptionHealthStatus ofSphereValue(String value)