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

    Modifier and Type
    Method
    Description
    default String
    Bean style accessor to name.
    Name of the code.
  • Method Details

    • 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