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

com.oembedler.moon.graphql.boot.ListSchemaStringProvider Maven / Gradle / Ivy

There is a newer version: 5.6.1
Show newest version
package com.oembedler.moon.graphql.boot;

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