public class NoIntrospectionGraphqlFieldVisibility extends Object implements GraphqlFieldVisibility
Modifier and Type | Field and Description |
---|---|
static NoIntrospectionGraphqlFieldVisibility |
NO_INTROSPECTION_FIELD_VISIBILITY |
Constructor and Description |
---|
NoIntrospectionGraphqlFieldVisibility() |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
getFieldDefinition(GraphQLFieldsContainer fieldsContainer,
String fieldName)
Called to get a named field from an object type or interface
|
List<GraphQLFieldDefinition> |
getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
Called to get the list of fields from an object type or interface
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getFieldDefinition, getFieldDefinitions
public static NoIntrospectionGraphqlFieldVisibility NO_INTROSPECTION_FIELD_VISIBILITY
public NoIntrospectionGraphqlFieldVisibility()
public List<GraphQLFieldDefinition> getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
GraphqlFieldVisibility
getFieldDefinitions
in interface GraphqlFieldVisibility
fieldsContainer
- the type in playGraphQLFieldDefinition
spublic GraphQLFieldDefinition getFieldDefinition(GraphQLFieldsContainer fieldsContainer, String fieldName)
GraphqlFieldVisibility
getFieldDefinition
in interface GraphqlFieldVisibility
fieldsContainer
- the type in playfieldName
- the name of the desired fieldGraphQLFieldDefinition
or null if its not visibleCopyright © 2019. All rights reserved.