Interface ComponentVerifierExtension.VerificationError.Code
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ComponentVerifierExtension.VerificationError.StandardCode
- Enclosing interface:
ComponentVerifierExtension.VerificationError
Interface defining an error code. This is implemented by the
ComponentVerifierExtension.VerificationError.StandardCode
but also own code can be
generated by implementing this interface. This is best done via ComponentVerifierExtension.VerificationError.asCode(String)
If possible, the
standard codes should be reused-
Method Summary
-
Method Details
-
name
String name()Name of the code. All uppercase for standard codes, all lower case for custom codes. Separator between two words is an underscore.- Returns:
- code name
-
getName
Bean style accessor to name. This is required for framework like Jackson using bean convention for object serialization.- Returns:
- code name
-