Class ProfileManager


  • public class ProfileManager
    extends Object
    Class that is responsible for resolving the current profile As this is needed immediately after startup it does not use any of the usual build/config infrastructure. The profile is resolved in the following way:
    • The quarkus.profile system property
    • The QUARKUS_PROFILE environment entry
    • The default runtime profile provided during build
    • The default property for the launch mode
    • Constructor Detail

      • ProfileManager

        public ProfileManager()
    • Method Detail

      • setLaunchMode

        public static void setLaunchMode​(LaunchMode mode)
      • getLaunchMode

        public static LaunchMode getLaunchMode()
      • setRuntimeDefaultProfile

        public static void setRuntimeDefaultProfile​(String profile)
      • getActiveProfile

        public static String getActiveProfile()