Class AbstractNumericDirective
java.lang.Object
io.github.setchy.dgs.formatters.AbstractFormatterDirective
io.github.setchy.dgs.formatters.numeric.AbstractNumericDirective
- All Implemented Interfaces:
graphql.schema.idl.SchemaDirectiveWiring
- Direct Known Subclasses:
AbsoluteDirective,CeilingDirective,FloorDirective
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract FloatapplyFormatting(graphql.schema.GraphQLFieldDefinition field, Float value) abstract IntegerapplyFormatting(graphql.schema.GraphQLFieldDefinition field, Integer value) Methods inherited from class io.github.setchy.dgs.formatters.AbstractFormatterDirective
onArgument, onFieldMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface graphql.schema.idl.SchemaDirectiveWiring
onEnum, onEnumValue, onInputObjectField, onInputObjectType, onInterface, onObject, onScalar, onUnion
-
Constructor Details
-
AbstractNumericDirective
public AbstractNumericDirective()
-
-
Method Details
-
format
- Specified by:
formatin classAbstractFormatterDirective
-
applyFormatting
-
applyFormatting
-