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

graphql.kickstart.execution.StaticGraphQLRootObjectBuilder Maven / Gradle / Ivy

package graphql.kickstart.execution;

public class StaticGraphQLRootObjectBuilder implements GraphQLRootObjectBuilder {

  private final Object rootObject;

  public StaticGraphQLRootObjectBuilder(Object rootObject) {
    this.rootObject = rootObject;
  }

  @Override
  public Object build() {
    return rootObject;
  }

  protected Object getRootObject() {
    return rootObject;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy