Class DateFunction

  • All Implemented Interfaces:
    graphql.annotations.processor.typeFunctions.TypeFunction

    public class DateFunction
    extends Object
    implements graphql.annotations.processor.typeFunctions.TypeFunction
    • Field Detail

      • DATE_SCALAR

        public static final graphql.scalars.datetime.DateScalar DATE_SCALAR
    • Constructor Detail

      • DateFunction

        public DateFunction()
    • Method Detail

      • getTypeName

        public String getTypeName​(Class<?> aClass,
                                  AnnotatedType annotatedType)
        Specified by:
        getTypeName in interface graphql.annotations.processor.typeFunctions.TypeFunction
      • canBuildType

        public boolean canBuildType​(Class<?> aClass,
                                    AnnotatedType annotatedType)
        Specified by:
        canBuildType in interface graphql.annotations.processor.typeFunctions.TypeFunction
      • buildType

        public graphql.schema.GraphQLType buildType​(boolean input,
                                                    Class<?> aClass,
                                                    AnnotatedType annotatedType,
                                                    graphql.annotations.processor.ProcessingElementsContainer container)
        Specified by:
        buildType in interface graphql.annotations.processor.typeFunctions.TypeFunction