Class ProfileManager

java.lang.Object
io.quarkus.runtime.configuration.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 Details

    • ProfileManager

      public ProfileManager()
  • Method Details

    • setLaunchMode

      public static void setLaunchMode(LaunchMode mode)
    • getLaunchMode

      public static LaunchMode getLaunchMode()