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

io.quarkus.runtime.ExecutionModeManager Maven / Gradle / Ivy

There is a newer version: 3.17.5
Show newest version
package io.quarkus.runtime;

public final class ExecutionModeManager {

    private static volatile ExecutionMode executionMode = ExecutionMode.UNSET;

    public static void staticInit() {
        executionMode = ExecutionMode.STATIC_INIT;
    }

    public static void runtimeInit() {
        executionMode = ExecutionMode.RUNTIME_INIT;
    }

    public static void running() {
        executionMode = ExecutionMode.RUNNING;
    }

    public static void unset() {
        executionMode = ExecutionMode.UNSET;
    }

    public static ExecutionMode getExecutionMode() {
        return executionMode;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy