public class RevisionSortAdapter extends io.leangen.graphql.generator.mapping.AbstractTypeAdapter<org.springframework.data.history.RevisionSort,org.springframework.data.domain.Sort.Direction> implements DefaultValueSchemaTransformer
| Constructor and Description |
|---|
RevisionSortAdapter() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.data.history.RevisionSort |
convertInput(org.springframework.data.domain.Sort.Direction substitute,
AnnotatedType type,
io.leangen.graphql.execution.GlobalEnvironment environment,
io.leangen.graphql.metadata.strategy.value.ValueMapper valueMapper) |
org.springframework.data.domain.Sort.Direction |
convertOutput(org.springframework.data.history.RevisionSort original,
AnnotatedType type,
io.leangen.graphql.execution.ResolutionEnvironment resolutionEnvironment) |
Object |
getDefaultValue() |
boolean |
supports(AnnotatedType type) |
getSubstituteType, toGraphQLInputType, toGraphQLTypeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittransformArgumentpublic org.springframework.data.history.RevisionSort convertInput(org.springframework.data.domain.Sort.Direction substitute,
AnnotatedType type,
io.leangen.graphql.execution.GlobalEnvironment environment,
io.leangen.graphql.metadata.strategy.value.ValueMapper valueMapper)
convertInput in interface io.leangen.graphql.generator.mapping.InputConverter<org.springframework.data.history.RevisionSort,org.springframework.data.domain.Sort.Direction>public org.springframework.data.domain.Sort.Direction convertOutput(org.springframework.data.history.RevisionSort original,
AnnotatedType type,
io.leangen.graphql.execution.ResolutionEnvironment resolutionEnvironment)
convertOutput in interface io.leangen.graphql.generator.mapping.OutputConverter<org.springframework.data.history.RevisionSort,org.springframework.data.domain.Sort.Direction>public Object getDefaultValue()
getDefaultValue in interface DefaultValueSchemaTransformerpublic boolean supports(AnnotatedType type)
supports in interface io.leangen.graphql.generator.mapping.InputConverter<org.springframework.data.history.RevisionSort,org.springframework.data.domain.Sort.Direction>supports in interface DefaultValueSchemaTransformersupports in class io.leangen.graphql.generator.mapping.AbstractTypeAdapter<org.springframework.data.history.RevisionSort,org.springframework.data.domain.Sort.Direction>Copyright © 2018–2021. All rights reserved.