File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed
core/runtime/src/main/java/io/quarkus/runtime Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change 11package io .quarkus .runtime ;
22
33public enum LaunchMode {
4-
54 /**
65 * A normal production build. At the moment this can be both native image or
76 * JVM mode, but eventually these will likely be split
87 */
9- NORMAL ("prod" , "quarkus.profile" ),
8+ NORMAL (LaunchMode . PROD_PROFILE , "quarkus.profile" ),
109 /**
1110 * quarkus:dev or an IDE launch (when we support IDE launch)
1211 */
13- DEVELOPMENT ("dev" , "quarkus.profile" ),
12+ DEVELOPMENT (LaunchMode . DEV_PROFILE , "quarkus.profile" ),
1413 /**
1514 * a test run
1615 */
17- TEST ("test" , "quarkus.test.profile" );
16+ TEST (LaunchMode .TEST_PROFILE , "quarkus.test.profile" );
17+
18+ public static final String DEV_PROFILE = "dev" ;
19+ public static final String PROD_PROFILE = "prod" ;
20+ public static final String TEST_PROFILE = "test" ;
1821
1922 public boolean isDevOrTest () {
2023 return this != NORMAL ;
You can’t perform that action at this time.
0 commit comments