Enum ComponentVerifierExtension.Result.Status
- java.lang.Object
-
- java.lang.Enum<ComponentVerifierExtension.Result.Status>
-
- org.apache.camel.component.extension.ComponentVerifierExtension.Result.Status
-
- All Implemented Interfaces:
Serializable
,Comparable<ComponentVerifierExtension.Result.Status>
- Enclosing interface:
- ComponentVerifierExtension.Result
public static enum ComponentVerifierExtension.Result.Status extends Enum<ComponentVerifierExtension.Result.Status>
Status of the verification
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR
Error occurred during the verificationOK
Verification succeededUNSUPPORTED
Verification is not supported.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentVerifierExtension.Result.Status
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComponentVerifierExtension.Result.Status[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
OK
public static final ComponentVerifierExtension.Result.Status OK
Verification succeeded
-
ERROR
public static final ComponentVerifierExtension.Result.Status ERROR
Error occurred during the verification
-
UNSUPPORTED
public static final ComponentVerifierExtension.Result.Status UNSUPPORTED
Verification is not supported. This can depend on the given scope.
-
-
Method Detail
-
values
public static ComponentVerifierExtension.Result.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ComponentVerifierExtension.Result.Status c : ComponentVerifierExtension.Result.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ComponentVerifierExtension.Result.Status valueOf(String name)
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
-
-