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

graphql.schema.diff.reporting.DifferenceReporter Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
package graphql.schema.diff.reporting;

import graphql.PublicSpi;
import graphql.schema.diff.DiffEvent;

/**
 * This is called with each different encountered (including info ones) by a {@link graphql.schema.diff.SchemaDiff} operation
 */
@PublicSpi
public interface DifferenceReporter {

    /**
     * Called to report a difference
     *
     * @param differenceEvent the event describing the difference
     */
    void report(DiffEvent differenceEvent);

    /**
     * Called when the difference operation if finished
     */
    void onEnd();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy