public class SizeConstraint extends AbstractSizeConstraint
| Constructor and Description |
|---|
SizeConstraint() |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
appliesToListElements() |
boolean |
appliesToType(graphql.schema.GraphQLInputType inputType)
A derived class will be called to indicate whether this input type applies to the constraint
|
Documentation |
getDocumentation() |
runConstraintappliesTo, appliesTo, asBigDecimal, asBoolean, asMap, getBoolArg, getIntArg, getMessageTemplate, getMessageTemplate, getName, getStrArg, getStringOrIDOrObjectOrMapLength, isMap, isOneOfTheseTypes, isOneOfTheseTypes, isStringOrID, isStringOrIDOrList, isStringOrIDOrListOrMap, mkError, mkError, mkMessageParams, runValidation, toStringpublic Documentation getDocumentation()
public boolean appliesToType(graphql.schema.GraphQLInputType inputType)
AbstractDirectiveConstraintappliesToType in class AbstractDirectiveConstraintinputType - the input typeprotected boolean appliesToListElements()
appliesToListElements in class AbstractDirectiveConstraint