@PublicApi public class DefaultGraphqlFieldVisibility extends java.lang.Object implements GraphqlFieldVisibility
| Modifier and Type | Field and Description |
|---|---|
static DefaultGraphqlFieldVisibility |
DEFAULT_FIELD_VISIBILITY |
| Constructor and Description |
|---|
DefaultGraphqlFieldVisibility() |
| 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
|
GraphQLInputObjectField |
getFieldDefinition(GraphQLInputFieldsContainer fieldsContainer,
java.lang.String fieldName)
Called to get a named field from an input object type
|
java.util.List<GraphQLFieldDefinition> |
getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
Called to get the list of fields from an object type or interface
|
java.util.List<GraphQLInputObjectField> |
getFieldDefinitions(GraphQLInputFieldsContainer fieldsContainer)
Called to get the list of fields from an input object type
|
public static final DefaultGraphqlFieldVisibility DEFAULT_FIELD_VISIBILITY
public java.util.List<GraphQLFieldDefinition> getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
GraphqlFieldVisibilitygetFieldDefinitions in interface GraphqlFieldVisibilityfieldsContainer - the type in playGraphQLFieldDefinitionspublic GraphQLFieldDefinition getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
GraphqlFieldVisibilitygetFieldDefinition in interface GraphqlFieldVisibilityfieldsContainer - the type in playfieldName - the name of the desired fieldGraphQLFieldDefinition or null if it's not visiblepublic java.util.List<GraphQLInputObjectField> getFieldDefinitions(GraphQLInputFieldsContainer fieldsContainer)
GraphqlFieldVisibilitygetFieldDefinitions in interface GraphqlFieldVisibilityfieldsContainer - the type in playGraphQLInputObjectFieldspublic GraphQLInputObjectField getFieldDefinition(GraphQLInputFieldsContainer fieldsContainer, java.lang.String fieldName)
GraphqlFieldVisibilitygetFieldDefinition in interface GraphqlFieldVisibilityfieldsContainer - the type in playfieldName - the name of the desired fieldGraphQLInputObjectField or null if it's not visible