Enum Class NotificationProcessor.StatusCondition
java.lang.Object
java.lang.Enum<NotificationProcessor.StatusCondition>
org.craftercms.deployer.impl.processors.notification.NotificationProcessor.StatusCondition
- All Implemented Interfaces:
Serializable
,Comparable<NotificationProcessor.StatusCondition>
,Constable
- Enclosing class:
NotificationProcessor
public static enum NotificationProcessor.StatusCondition
extends Enum<NotificationProcessor.StatusCondition>
Status conditions used to control whe the notifications should be sent.
- Author:
- joseross
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNotifications will be sent for deployments in which at least one processor has failed.Notifications will be sent for all deployments.Notifications will be sent for deployments in which the general status indicates failure.Notifications will be sent for successful deployments only -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
Notifications will be sent for successful deployments only -
ON_ANY_STATUS
Notifications will be sent for all deployments. -
ON_ANY_FAILURE
Notifications will be sent for deployments in which at least one processor has failed. -
ON_TOTAL_FAILURE
Notifications will be sent for deployments in which the general status indicates failure.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-