All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.schema.idl.ScalarWiringEnvironment Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
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