Enum ComponentVerifierExtension.Scope
- java.lang.Object
-
- java.lang.Enum<ComponentVerifierExtension.Scope>
-
- org.apache.camel.component.extension.ComponentVerifierExtension.Scope
-
- All Implemented Interfaces:
Serializable
,Comparable<ComponentVerifierExtension.Scope>
- Enclosing interface:
- ComponentVerifierExtension
public static enum ComponentVerifierExtension.Scope extends Enum<ComponentVerifierExtension.Scope>
The scope defines how the parameters should be verified.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONNECTIVITY
Reach out to the backend and verify that a connection can be established.PARAMETERS
Only validate the parameters for their syntactic soundness.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ComponentVerifierExtension.Scope
fromString(String scope)
Get an instance of this scope from a string representationstatic ComponentVerifierExtension.Scope
valueOf(String name)
Returns the enum constant of this type with the specified name.static ComponentVerifierExtension.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PARAMETERS
public static final ComponentVerifierExtension.Scope PARAMETERS
Only validate the parameters for their syntactic soundness. Verifications in this scope should be as fast as possible
-
CONNECTIVITY
public static final ComponentVerifierExtension.Scope 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 Detail
-
values
public static ComponentVerifierExtension.Scope[] 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.Scope c : ComponentVerifierExtension.Scope.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.Scope 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
-
fromString
public static ComponentVerifierExtension.Scope fromString(String scope)
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
-
-