Package io.micronaut.maven.core
Enum Class MicronautRuntime
- All Implemented Interfaces:
Serializable
,Comparable<MicronautRuntime>
,Constable
The packaging kind of the application.
- Since:
- 1.1
- Author:
- graemerocher, Álvaro Sánchez-Mariscal
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAzure Cloud Function.Google Cloud Function, packaged as a Fat JAR.Jetty server.AWS lambda packaged as a Jar file.Default packaging.No specific runtime specified.Oracle Cloud Function, packaged as a docker container.Tomcat server.Undertow server. -
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic MicronautRuntime
Returns the enum constant of this class with the specified name.static MicronautRuntime[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
No specific runtime specified. -
NETTY
Default packaging. -
TOMCAT
Tomcat server. -
JETTY
Jetty server. -
UNDERTOW
Undertow server. -
LAMBDA
AWS lambda packaged as a Jar file. -
ORACLE_FUNCTION
Oracle Cloud Function, packaged as a docker container. -
GOOGLE_FUNCTION
Google Cloud Function, packaged as a Fat JAR. -
AZURE_FUNCTION
Azure Cloud Function.
-
-
Field Details
-
PROPERTY
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getBuildStrategy
- Returns:
- The docker build strategy
-