Interface Validator<T>

Type Parameters:
T - the type of the input to be validated.
All Known Subinterfaces:
CMSItemValidator<T>
All Known Implementing Classes:
DefaultAbstractCMSComponentValidator, DefaultAbstractRestrictionValidator, DefaultBannerComponentValidator, DefaultBaseAbstractPageValidator, DefaultCMSCategoryRestrictionValidator, DefaultCMSItemValidator, DefaultCMSLinkComponentValidator, DefaultCMSNavigationNodeValidator, DefaultCMSParagraphComponentValidator, DefaultCMSTimeRestrictionValidator, DefaultCMSUserGroupRestrictionValidator, DefaultCompositeValidator, DefaultCreateAbstractPageValidator, DefaultCreateAbstractRestrictionValidator, DefaultCreateCMSItemValidator, DefaultCreateContentPageValidator, DefaultEmailPageValidator, DefaultPDFDocumentComponentValidator, DefaultTrashContentPageValidator, DefaultUniqueNameForAttributeValidator, DefaultUpdateAbstractPageValidator, DefaultUpdateAbstractRestrictionValidator, DefaultUpdateCMSItemValidator, DefaultUpdateContentPageValidator, DefaultVideoComponentValidator, DefaultWorkflowItemValidator
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface Validator<T>
Validator is a Functional Interface that consumes an object to be validated.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    validate(T validatee)
    Method to perform validation on a given object.
  • Method Details

    • validate

      void validate(T validatee)
      Method to perform validation on a given object.
      Parameters:
      validatee - the inpected object being validated.