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

graphql.util.TraversalControl Maven / Gradle / Ivy

The newest version!
package graphql.util;

import graphql.PublicApi;

/**
 * Special traversal control values
 */
@PublicApi
public enum TraversalControl {

    /**
     * When returned the traversal will continue as planned.
     */
    CONTINUE,
    /**
     * When returned from a Visitor's method, indicates exiting the traversal
     */
    QUIT,
    /**
     * When returned from a Visitor's method, indicates skipping traversal of a subtree.
     *
     * Not allowed to be returned from 'leave' or 'backRef' because it doesn't make sense.
     */
    ABORT
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy