Interface ContentTypeConstraint


  • public interface ContentTypeConstraint
    Defines a constraint of a content type.
    • Method Detail

      • getContentTypes

        String[] getContentTypes()
        Get the list of content types which this constraint should be applied to.
        Returns:
        Array of content types as strings. Each string is a ContentDomain prefix.
        See Also:
        ContentDomain
      • getConstraintIdentifier

        String getConstraintIdentifier()
        Get the constraint plugin identifier.
        Returns:
        A constraint identifier. May be null or empty, in which case this constraint is not valid.