Interface ComponentVerifierExtension.VerificationError.Code
-
- All Superinterfaces:
Serializable
- All Known Subinterfaces:
ComponentVerifierExtension.VerificationError.StandardCode
- Enclosing interface:
- ComponentVerifierExtension.VerificationError
public static interface ComponentVerifierExtension.VerificationError.Code extends Serializable
Interface defining an error code. This is implemented by theComponentVerifierExtension.VerificationError.StandardCode
but also own code can be generated by implementing this interface. This is best done viaComponentVerifierExtension.VerificationError.asCode(String)
If possible, the standard codes should be reused
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default String
getName()
Bean style accessor to name.String
name()
Name of the code.
-
-
-
Method Detail
-
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
default String getName()
Bean style accessor to name. This is required for framework like Jackson using bean convention for object serialization.- Returns:
- code name
-
-