Package org.apache.unomi.graphql.scalars
Class DateTimeFunction
- java.lang.Object
-
- org.apache.unomi.graphql.scalars.DateTimeFunction
-
- All Implemented Interfaces:
graphql.annotations.processor.typeFunctions.TypeFunction
public class DateTimeFunction extends Object implements graphql.annotations.processor.typeFunctions.TypeFunction
-
-
Field Summary
Fields Modifier and Type Field Description static graphql.scalars.datetime.DateTimeScalar
DATE_TIME_SCALAR
-
Constructor Summary
Constructors Constructor Description DateTimeFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description graphql.schema.GraphQLType
buildType(boolean input, Class<?> aClass, AnnotatedType annotatedType, graphql.annotations.processor.ProcessingElementsContainer container)
boolean
canBuildType(Class<?> aClass, AnnotatedType annotatedType)
String
getTypeName(Class<?> aClass, AnnotatedType annotatedType)
-
-
-
Method Detail
-
getTypeName
public String getTypeName(Class<?> aClass, AnnotatedType annotatedType)
- Specified by:
getTypeName
in interfacegraphql.annotations.processor.typeFunctions.TypeFunction
-
canBuildType
public boolean canBuildType(Class<?> aClass, AnnotatedType annotatedType)
- Specified by:
canBuildType
in interfacegraphql.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 interfacegraphql.annotations.processor.typeFunctions.TypeFunction
-
-