Enum Class ComponentVerifierExtension.Scope
java.lang.Object
java.lang.Enum<ComponentVerifierExtension.Scope>
org.apache.camel.component.extension.ComponentVerifierExtension.Scope
- All Implemented Interfaces:
Serializable
,Comparable<ComponentVerifierExtension.Scope>
,Constable
- Enclosing interface:
ComponentVerifierExtension
The scope defines how the parameters should be verified.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReach out to the backend and verify that a connection can be established.Only validate the parameters for their syntactic soundness. -
Method Summary
Modifier and TypeMethodDescriptionfromString
(String scope) Get an instance of this scope from a string representationReturns the enum constant of this class with the specified name.static ComponentVerifierExtension.Scope[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
PARAMETERS
Only validate the parameters for their syntactic soundness. Verifications in this scope should be as fast as possible -
CONNECTIVITY
Reach out to the backend and verify that a connection can be established. This means, if the verification in this scope succeeds, then it can safely be assumed that the component can be used.
-
-
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
-
fromString
Get an instance of this scope from a string representation- Parameters:
scope
- the scope as string, which can be in any case- Returns:
- the scope enum represented by this string
-