Interface ComponentVerifierExtension.Result
-
- All Superinterfaces:
Serializable
- Enclosing interface:
- ComponentVerifierExtension
public static interface ComponentVerifierExtension.Result extends Serializable
The result of a verification
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ComponentVerifierExtension.Result.Status
Status of the verification
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ComponentVerifierExtension.VerificationError>
getErrors()
Collection of errors happened for the verification.ComponentVerifierExtension.Scope
getScope()
Scope of the verification.ComponentVerifierExtension.Result.Status
getStatus()
Result of the validation as status.
-
-
-
Method Detail
-
getScope
ComponentVerifierExtension.Scope getScope()
Scope of the verification. This is the scope given to the call toComponentVerifierExtension.verify(Scope, Map)
and can be used for correlation.- Returns:
- the scope against which the parameters have been validated.
-
getStatus
ComponentVerifierExtension.Result.Status getStatus()
Result of the validation as status. This should be the first datum to check after a verification happened.- Returns:
- the status
-
getErrors
List<ComponentVerifierExtension.VerificationError> getErrors()
Collection of errors happened for the verification. This list is empty (but non null) if the verification succeeded.- Returns:
- a list of errors. Can be empty when verification was successful
-
-