Interface SubscriptionHealthStatus
- All Superinterfaces:
JsonEnum
- All Known Implementing Classes:
SubscriptionHealthStatus.SubscriptionHealthStatusEnum
The health status of the Subscription that indicates whether notifications are being delivered.
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic enum
possible values of SubscriptionHealthStatus -
Field Summary
Modifier and TypeFieldDescriptionstatic final SubscriptionHealthStatus
Notifications cannot be delivered with the current configuration.static final SubscriptionHealthStatus
Does not deliver notifications with the current configuration and the delivery of the notifications is no longer attempted.static final SubscriptionHealthStatus
Delivers notifications as expected.static final SubscriptionHealthStatus
Does not deliver notifications with the current configuration and the delivery of the notifications is no longer attempted.static final SubscriptionHealthStatus
Does not deliver notifications temporarily due to reasons other than a configuration error. -
Method Summary
Modifier and TypeMethodDescriptionstatic SubscriptionHealthStatus
factory method for a enum value of SubscriptionHealthStatus if no enum has been found an anonymous instance will be createdstatic Optional<SubscriptionHealthStatus>
findEnumViaJsonName
(String jsonName) method to find enum using the JSON valuethe JSON valuename()
the enum valuetoString()
convert value to stringstatic SubscriptionHealthStatus[]
values()
possible enum values
-
Field Details
-
HEALTHY
Delivers notifications as expected.
-
CONFIGURATION_ERROR
Notifications cannot be delivered with the current configuration. Common causes are deleting the Destination queue, deleting access credentials, or removing necessary permissions. You can fix the configuration by re-creating the configuration on the Destination side, or by setting a new configuration with the Change Destination update action. After the configuration is fixed, undelivered notifications will be delivered and the
status
will change to Healthy.ConfigurationError
is automatically turned intoConfigurationErrorDeliveryStopped
after some time. For more information, see Delivery Guarantees. -
CONFIGURATION_ERROR_DELIVERY_STOPPED
Does not deliver notifications with the current configuration and the delivery of the notifications is no longer attempted. After the configuration is fixed, undelivered notifications are not retained and will not be delivered. The
status
will change to Healthy as soon as new notifications can be delivered. -
TEMPORARY_ERROR
Does not deliver notifications temporarily due to reasons other than a configuration error. For example, the Destination has a temporary outage.
-
MANUALLY_SUSPENDED
Does not deliver notifications with the current configuration and the delivery of the notifications is no longer attempted. Undelivered notifications are not retained and will not be delivered. The
status
will not automatically change to Healthy. To return your subscriptions to a Healthy status, contact the Composable Commerce support team.
-
-
Method Details
-
getJsonName
String getJsonName()the JSON value- Specified by:
getJsonName
in interfaceJsonEnum
- Returns:
- json value
-
name
String name()the enum value -
toString
String toString()convert value to string -
findEnum
factory method for a enum value of SubscriptionHealthStatus if no enum has been found an anonymous instance will be created- Parameters:
value
- the enum value to be wrapped- Returns:
- enum instance
-
findEnumViaJsonName
method to find enum using the JSON value- Parameters:
jsonName
- the json value to be wrapped- Returns:
- optional of enum instance
-
values
possible enum values- Returns:
- array of possible enum values
-