@PublicApi public class NoIntrospectionGraphqlFieldVisibility extends java.lang.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,
java.lang.String fieldName)
Called to get a named field from an object type or interface
|
java.util.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 java.util.List<GraphQLFieldDefinition> getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
GraphqlFieldVisibility
getFieldDefinitions
in interface GraphqlFieldVisibility
fieldsContainer
- the type in playGraphQLFieldDefinition
spublic GraphQLFieldDefinition getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
GraphqlFieldVisibility
getFieldDefinition
in interface GraphqlFieldVisibility
fieldsContainer
- the type in playfieldName
- the name of the desired fieldGraphQLFieldDefinition
or null if its not visible