public interface ComponentVerifierExtension extends ComponentExtension
verify(ComponentVerifierExtension.Scope, Map) which takes a scope and a set of parameters which should be verified.
The return value is a ComponentVerifierExtension.Result of the verification| Modifier and Type | Interface and Description |
|---|---|
static interface |
ComponentVerifierExtension.Result
The result of a verification
|
static class |
ComponentVerifierExtension.Scope
The scope defines how the parameters should be verified.
|
static interface |
ComponentVerifierExtension.VerificationError
This interface represents a detailed error in case when the verification fails.
|
| Modifier and Type | Method and Description |
|---|---|
ComponentVerifierExtension.Result |
verify(ComponentVerifierExtension.Scope scope,
Map<String,Object> parameters)
Verify the given parameters against a provided scope.
|
unwrapComponentVerifierExtension.Result verify(ComponentVerifierExtension.Scope scope, Map<String,Object> parameters)
The supported scopes are:
ComponentVerifierExtension.Scope.PARAMETERS: to validate that all the mandatory options are provided and syntactically correct.ComponentVerifierExtension.Scope.CONNECTIVITY: to validate that the given options (i.e. credentials, addresses) are correct. Verifying with this
scope typically implies reaching out to the backend via some sort of network connection.scope - the scope of the verificationparameters - the parameters to verify which are interpreted individually by each component verifierApache Camel