Class MaxConstraint

    • Constructor Detail

      • MaxConstraint

        public MaxConstraint()
    • Method Detail

      • getDocumentation

        public Documentation getDocumentation()
        Returns:
        documentation meta data about this constraint
      • isOK

        protected boolean isOK​(int comparisonResult)
      • getApplicableTypes

        public java.util.List<graphql.schema.GraphQLScalarType> getApplicableTypes()
      • appliesToType

        protected boolean appliesToType​(graphql.schema.GraphQLInputType inputType)
        Description copied from class: AbstractDirectiveConstraint
        A derived class will be called to indicate whether this input type applies to the constraint
        Specified by:
        appliesToType in class AbstractDirectiveConstraint
        Parameters:
        inputType - the input type
        Returns:
        true if the constraint can handle that type