public enum MicronautRuntime extends Enum<MicronautRuntime>
Enum Constant and Description |
---|
AZURE_FUNCTION
Azure Cloud Function.
|
GOOGLE_FUNCTION
Google Cloud Function, packaged as a Fat JAR.
|
JETTY
Jetty server.
|
LAMBDA
AWS lambda packaged as a Jar file.
|
NETTY
Default packaging.
|
NONE
No specific runtime specified.
|
ORACLE_FUNCTION
Oracle Cloud Function, packaged as a docker container.
|
TOMCAT
Tomcat server.
|
UNDERTOW
Undertow server.
|
Modifier and Type | Method and Description |
---|---|
DockerBuildStrategy |
getBuildStrategy() |
static MicronautRuntime |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MicronautRuntime[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MicronautRuntime NONE
public static final MicronautRuntime NETTY
public static final MicronautRuntime TOMCAT
public static final MicronautRuntime JETTY
public static final MicronautRuntime UNDERTOW
public static final MicronautRuntime LAMBDA
public static final MicronautRuntime ORACLE_FUNCTION
public static final MicronautRuntime GOOGLE_FUNCTION
public static final MicronautRuntime AZURE_FUNCTION
public static final String PROPERTY
public static MicronautRuntime[] values()
for (MicronautRuntime c : MicronautRuntime.values()) System.out.println(c);
public static MicronautRuntime 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 DockerBuildStrategy getBuildStrategy()
Copyright © 2020–2023 Micronaut. All rights reserved.