graphql.kickstart.autoconfigure.tools.ListSchemaStringProvider Maven / Gradle / Ivy
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