Package io.quarkus.bootstrap.app
Class BootstrapProfile
- java.lang.Object
-
- io.quarkus.bootstrap.app.BootstrapProfile
-
public class BootstrapProfile extends Object
Mirror of the logic in ProfileManager, but this is needed pre-bootstrap so there is nowhere to really share it. This is only used for reading the class loading config
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEVstatic StringPRODstatic StringQUARKUS_PROFILE_ENVstatic StringQUARKUS_PROFILE_PROPstatic StringQUARKUS_TEST_PROFILE_PROPstatic StringTEST
-
Constructor Summary
Constructors Constructor Description BootstrapProfile()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringgetActiveProfile(QuarkusBootstrap.Mode mode)static voidsetRuntimeDefaultProfile(String profile)
-
-
-
Field Detail
-
QUARKUS_PROFILE_ENV
public static final String QUARKUS_PROFILE_ENV
- See Also:
- Constant Field Values
-
QUARKUS_PROFILE_PROP
public static final String QUARKUS_PROFILE_PROP
- See Also:
- Constant Field Values
-
QUARKUS_TEST_PROFILE_PROP
public static final String QUARKUS_TEST_PROFILE_PROP
- See Also:
- Constant Field Values
-
DEV
public static final String DEV
- See Also:
- Constant Field Values
-
PROD
public static final String PROD
- See Also:
- Constant Field Values
-
TEST
public static final String TEST
- See Also:
- Constant Field Values
-
-
Method Detail
-
setRuntimeDefaultProfile
public static void setRuntimeDefaultProfile(String profile)
-
getActiveProfile
public static String getActiveProfile(QuarkusBootstrap.Mode mode)
-
-