public enum LaunchMode extends Enum<LaunchMode>
Enum Constant and Description |
---|
DEVELOPMENT
quarkus:dev or an IDE launch (when we support IDE launch)
|
NORMAL
A normal production build.
|
TEST
a test run
|
Modifier and Type | Method and Description |
---|---|
static LaunchMode |
current() |
String |
getDefaultProfile() |
boolean |
isDevOrTest() |
static LaunchMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LaunchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LaunchMode NORMAL
public static final LaunchMode DEVELOPMENT
public static final LaunchMode TEST
public static LaunchMode[] values()
for (LaunchMode c : LaunchMode.values()) System.out.println(c);
public static LaunchMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isDevOrTest()
public String getDefaultProfile()
public static LaunchMode current()
Copyright © 2020 JBoss by Red Hat. All rights reserved.