Enum Class MicronautRuntime

java.lang.Object
java.lang.Enum<MicronautRuntime>
io.micronaut.gradle.MicronautRuntime
All Implemented Interfaces:
Serializable, Comparable<MicronautRuntime>, Constable

public enum MicronautRuntime extends Enum<MicronautRuntime>
The packaging kind of the application.
Since:
1.0
Author:
graemerocher
  • Enum Constant Details

    • NONE

      public static final MicronautRuntime NONE
      No specific runtime specified.
    • NETTY

      public static final MicronautRuntime NETTY
      Default packaging.
    • TOMCAT

      public static final MicronautRuntime TOMCAT
      Tomcat server.
    • JETTY

      public static final MicronautRuntime JETTY
      Jetty server.
    • UNDERTOW

      public static final MicronautRuntime UNDERTOW
      Undertow server.
    • LAMBDA_JAVA

      public static final MicronautRuntime LAMBDA_JAVA
      AWS lambda packaged as a Jar file and deploy to a Java runtime.
    • LAMBDA_PROVIDED

      public static final MicronautRuntime LAMBDA_PROVIDED
      AWS lambda deployed to a Provided runtime.
    • ORACLE_FUNCTION

      public static final MicronautRuntime ORACLE_FUNCTION
      Oracle Cloud Function, packaged as a docker container.
    • GOOGLE_FUNCTION

      public static final MicronautRuntime GOOGLE_FUNCTION
      Google Cloud Function, packaged as a Fat JAR.
    • AZURE_FUNCTION

      public static final MicronautRuntime AZURE_FUNCTION
      Azure Cloud Function.
  • Method Details

    • values

      public static MicronautRuntime[] 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

      public static MicronautRuntime valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getBuildStrategy

      public DockerBuildStrategy getBuildStrategy()
      Returns:
      The docker build strategy
    • isLambda

      public boolean isLambda()
    • isLambdaProvided

      public boolean isLambdaProvided()