package io.quarkus.runtime.annotations;

public enum ConfigPhase {
    /**
     * Values are read and available for usage at build time.
     */
    BUILD_TIME(true, false, false),
    /**
     * Values are read and available for usage at build time, and available on a read-only basis at run time.
     */
    BUILD_AND_RUN_TIME_FIXED(true, true, false),
    /**
     * Values are read and available for usage at run time and are re-read on each program execution.
     */
    RUN_TIME(false, true, true),
    ;

    /**
     * This is now an alias for {@link #BUILD_AND_RUN_TIME_FIXED}.
     *
     * @deprecated We are removing static init time configuration processing.
     */
    @Deprecated
    public static final ConfigPhase RUN_TIME_STATIC = BUILD_AND_RUN_TIME_FIXED;

    private final boolean availableAtBuild;
    private final boolean availableAtRun;
    private final boolean readAtMain;

    ConfigPhase(final boolean availableAtBuild, final boolean availableAtRun, final boolean readAtMain) {
        this.availableAtBuild = availableAtBuild;
        this.availableAtRun = availableAtRun;
        this.readAtMain = readAtMain;
    }

    public boolean isAvailableAtBuild() {
        return availableAtBuild;
    }

    public boolean isAvailableAtRun() {
        return availableAtRun;
    }

    public boolean isReadAtStaticInit() {
        return isAvailableAtBuild() && isAvailableAtRun();
    }

    public boolean isReadAtMain() {
        return readAtMain;
    }
}

@@ -511,273 +511,8 @@
  ;%0A%0A
-    /**%0A     * This is now an alias for %7B@link #BUILD_AND_RUN_TIME_FIXED%7D.%0A     *%0A     * @deprecated We are removing static init time configuration processing.%0A     */%0A    @Deprecated%0A    public static final ConfigPhase RUN_TIME_STATIC = BUILD_AND_RUN_TIME_FIXED;%0A%0A
     

Delete obsolete phase