001package org.kohsuke.stapler.interceptor;
002
003import org.kohsuke.stapler.InjectedParameter;
004
005/**
006 * Determines when interception happens.
007 *
008 * @author Kohsuke Kawaguchi
009 * @see InterceptorAnnotation#stage()
010 * @since 1.239
011 */
012public enum Stage {
013    /**
014     * During the method selection, before all the {@link InjectedParameter}s are processed.
015     */
016    SELECTION,
017    /**
018     * Right before the dispatch of the method, after all the {@link InjectedParameter}s are processed.
019     */
020    PREINVOKE
021}