graphql.schema.idl.ScalarWiringEnvironment Maven / Gradle / Ivy
package graphql.schema.idl;
import graphql.PublicApi;
import graphql.language.ScalarTypeDefinition;
import graphql.language.ScalarTypeExtensionDefinition;
import java.util.List;
@PublicApi
public class ScalarWiringEnvironment extends WiringEnvironment {
private final ScalarTypeDefinition scalarTypeDefinition;
private final List extensions;
ScalarWiringEnvironment(TypeDefinitionRegistry registry, ScalarTypeDefinition interfaceTypeDefinition, List extensions) {
super(registry);
this.scalarTypeDefinition = interfaceTypeDefinition;
this.extensions = extensions;
}
public ScalarTypeDefinition getScalarTypeDefinition() {
return scalarTypeDefinition;
}
public List getExtensions() {
return extensions;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy