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

graphql.kickstart.autoconfigure.tools.ListSchemaStringProvider Maven / Gradle / Ivy

The newest version!
package graphql.kickstart.autoconfigure.tools;

import java.io.IOException;
import java.util.ArrayList;
import java.util.List;

public class ListSchemaStringProvider implements SchemaStringProvider {

  private final List schemaStrings;

  public ListSchemaStringProvider() {
    schemaStrings = new ArrayList<>();
  }

  public void add(String schemaString) {
    schemaStrings.add(schemaString);
  }

  @Override
  public List schemaStrings() throws IOException {
    return schemaStrings;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy