public interface ComponentVerifier
verify(Scope, Map)
which takes a scope and a set of parameters which should be verified.
The return value is a ComponentVerifier.Result
of the verificationModifier and Type | Interface and Description |
---|---|
static interface |
ComponentVerifier.Result
The result of a verification
|
static class |
ComponentVerifier.Scope
The scope defines how the parameters should be verified.
|
static interface |
ComponentVerifier.VerificationError
This interface represents a detailed error in case when the verification fails.
|
Modifier and Type | Method and Description |
---|---|
ComponentVerifier.Result |
verify(ComponentVerifier.Scope scope,
Map<String,Object> parameters)
Verify the given parameters against a provided scope.
|
ComponentVerifier.Result verify(ComponentVerifier.Scope scope, Map<String,Object> parameters)
The supported scopes are:
ComponentVerifier.Scope.PARAMETERS
: to validate that all the mandatory options are provided and syntactically correct.ComponentVerifier.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