Class AbstractNotEmptyRule

    • Constructor Detail

      • AbstractNotEmptyRule

        public AbstractNotEmptyRule​(java.lang.String name)
    • Method Detail

      • runConstraint

        protected final java.util.List<graphql.GraphQLError> runConstraint​(ValidationEnvironment validationEnvironment)
        Description copied from class: AbstractDirectiveConstraint
        This is called to perform the constraint validation
        Specified by:
        runConstraint in class AbstractDirectiveConstraint
        Parameters:
        validationEnvironment - the validation environment
        Returns:
        a list of errors or an empty one if there are no errors