Enum PackageStatusMessage.Status
java.lang.Object
java.lang.Enum<PackageStatusMessage.Status>
org.apache.sling.distribution.journal.messages.PackageStatusMessage.Status
- All Implemented Interfaces:
Serializable
,Comparable<PackageStatusMessage.Status>
- Enclosing class:
PackageStatusMessage
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe package has been appliedThe package has been removed explicitlyThe package has been removed automatically after failing every retry attempts -
Method Summary
Modifier and TypeMethodDescriptionstatic PackageStatusMessage.Status
fromNumber
(int number) int
static PackageStatusMessage.Status
Returns the enum constant of this type with the specified name.static PackageStatusMessage.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
REMOVED_FAILED
The package has been removed automatically after failing every retry attempts -
REMOVED
The package has been removed explicitly -
IMPORTED
The package has been applied
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public int getNumber() -
fromNumber
-