Class KotlinSchemaDirectiveEnvironment
-
- All Implemented Interfaces:
public class KotlinSchemaDirectiveEnvironment<T extends GraphQLDirectiveContainer>
KotlinSchemaDirectiveEnvironment holds basic wiring information that includes target element and directive that is to be applied.
-
-
Field Summary
Fields Modifier and Type Field Description private final T
element
private final GraphQLAppliedDirective
directive
private final GraphQLCodeRegistry.Builder
codeRegistry
-
Constructor Summary
Constructors Constructor Description KotlinSchemaDirectiveEnvironment(T element, GraphQLAppliedDirective directive, GraphQLCodeRegistry.Builder codeRegistry)
-
Method Summary
Modifier and Type Method Description final T
getElement()
final GraphQLAppliedDirective
getDirective()
final GraphQLCodeRegistry.Builder
getCodeRegistry()
-
-
Constructor Detail
-
KotlinSchemaDirectiveEnvironment
KotlinSchemaDirectiveEnvironment(T element, GraphQLAppliedDirective directive, GraphQLCodeRegistry.Builder codeRegistry)
-
-
Method Detail
-
getElement
final T getElement()
-
getDirective
final GraphQLAppliedDirective getDirective()
-
getCodeRegistry
final GraphQLCodeRegistry.Builder getCodeRegistry()
-
-
-
-