Package org.ametys.cms.transformation
Enum Class ConsistencyChecker.CHECK
- All Implemented Interfaces:
Serializable
,Comparable<ConsistencyChecker.CHECK>
,java.lang.constant.Constable
- Enclosing class:
- ConsistencyChecker
The state of the check
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionNot Found.Server Error.If the check was all rightUnauthorized.If the check may be too long -
Method Summary
Modifier and TypeMethodDescriptionstatic ConsistencyChecker.CHECK
from
(HttpUrlUtils.HttpCheck httpCheck) Convert aHttpUrlUtils.HttpCheck
value to aConsistencyChecker.CHECK
valuestatic ConsistencyChecker.CHECK
Returns the enum constant of this class with the specified name.static ConsistencyChecker.CHECK[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SUCCESS
If the check was all right -
SERVER_ERROR
Server Error. -
NOT_FOUND
Not Found. -
UNAUTHORIZED
Unauthorized. -
UNKNOWN
If the check may be too long
-
-
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
-
from
Convert aHttpUrlUtils.HttpCheck
value to aConsistencyChecker.CHECK
value- Parameters:
httpCheck
- the HTTP check- Returns:
- the CHECK value
-