public enum ApplicationType extends java.lang.Enum<ApplicationType> implements io.micronaut.core.naming.Named
Enum Constant and Description |
---|
CLI |
DEFAULT |
FUNCTION |
GRPC |
MESSAGING |
Modifier and Type | Field and Description |
---|---|
static ApplicationType |
DEFAULT_OPTION |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
java.lang.String |
getName() |
java.lang.String |
getTitle() |
static ApplicationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ApplicationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ApplicationType DEFAULT
public static final ApplicationType CLI
public static final ApplicationType FUNCTION
public static final ApplicationType GRPC
public static final ApplicationType MESSAGING
public static final ApplicationType DEFAULT_OPTION
public static ApplicationType[] values()
for (ApplicationType c : ApplicationType.values()) System.out.println(c);
public static ApplicationType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getTitle()
public java.lang.String getDescription()
@NonNull public java.lang.String getName()
getName
in interface io.micronaut.core.naming.Named