public class io.quarkus.runtime.configuration.ProfileManager extends java.lang.Object
{
public static final java.lang.String QUARKUS_PROFILE_ENV;
public static final java.lang.String QUARKUS_PROFILE_PROP;
public static final java.lang.String QUARKUS_TEST_PROFILE_PROP;
private static final java.lang.String BACKWARD_COMPATIBLE_QUARKUS_PROFILE_PROP;
private static volatile io.quarkus.runtime.LaunchMode launchMode;
private static volatile java.lang.String runtimeDefaultProfile;
public void <init>()
{
io.quarkus.runtime.configuration.ProfileManager v;
v := @this: io.quarkus.runtime.configuration.ProfileManager;
specialinvoke v.<java.lang.Object: void <init>()>();
return;
}
public static void setLaunchMode(io.quarkus.runtime.LaunchMode)
{
io.quarkus.runtime.LaunchMode v;
v := @parameter: io.quarkus.runtime.LaunchMode;
<io.quarkus.runtime.configuration.ProfileManager: io.quarkus.runtime.LaunchMode launchMode> = v;
return;
}
public static io.quarkus.runtime.LaunchMode getLaunchMode()
{
io.quarkus.runtime.LaunchMode v;
v = <io.quarkus.runtime.configuration.ProfileManager: io.quarkus.runtime.LaunchMode launchMode>;
return v;
}
public static void setRuntimeDefaultProfile(java.lang.String)
{
java.lang.String v;
v := @parameter: java.lang.String;
<io.quarkus.runtime.configuration.ProfileManager: java.lang.String runtimeDefaultProfile> = v;
return;
}
public static java.lang.String getActiveProfile()
{
io.quarkus.runtime.LaunchMode v, v, v, v;
java.lang.String v, v, v, v, v, v, v;
v = <io.quarkus.runtime.configuration.ProfileManager: io.quarkus.runtime.LaunchMode launchMode>;
v = <io.quarkus.runtime.LaunchMode: io.quarkus.runtime.LaunchMode TEST>;
if v != v goto label;
v = staticinvoke <java.lang.System: java.lang.String getProperty(java.lang.String)>("quarkus.test.profile");
if v == null goto label;
return v;
label:
v = <io.quarkus.runtime.configuration.ProfileManager: io.quarkus.runtime.LaunchMode launchMode>;
v = virtualinvoke v.<io.quarkus.runtime.LaunchMode: java.lang.String getDefaultProfile()>();
return v;
label:
v = staticinvoke <java.lang.System: java.lang.String getProperty(java.lang.String)>("quarkus.profile");
if v == null goto label;
return v;
label:
v = staticinvoke <java.lang.System: java.lang.String getProperty(java.lang.String)>("quarkus-profile");
if v == null goto label;
return v;
label:
v = staticinvoke <java.lang.System: java.lang.String getenv(java.lang.String)>("QUARKUS_PROFILE");
if v == null goto label;
return v;
label:
v = <io.quarkus.runtime.configuration.ProfileManager: java.lang.String runtimeDefaultProfile>;
if v == null goto label;
return v;
label:
v = <io.quarkus.runtime.configuration.ProfileManager: io.quarkus.runtime.LaunchMode launchMode>;
v = virtualinvoke v.<io.quarkus.runtime.LaunchMode: java.lang.String getDefaultProfile()>();
return v;
}
static void <clinit>()
{
io.quarkus.runtime.LaunchMode v;
v = <io.quarkus.runtime.LaunchMode: io.quarkus.runtime.LaunchMode NORMAL>;
<io.quarkus.runtime.configuration.ProfileManager: io.quarkus.runtime.LaunchMode launchMode> = v;
return;
}
}