Package gg.jte.gradle

Enum Class JteStage

java.lang.Object
java.lang.Enum<JteStage>
gg.jte.gradle.JteStage
All Implemented Interfaces:
Serializable, Comparable<JteStage>, Constable

public enum JteStage extends Enum<JteStage>
which kind of jte generation should the plugin be doing.
Since:
2021-05-03
  • Nested Class Summary

    Nested classes/interfaces inherited from class java.lang.Enum

    Enum.EnumDesc<E extends Enum<E>>
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    "generate" means that jte files will be converted into Java source _before_ the main java code of your project is compiled, and will become part of your application jar during project build.
    "precompile" means that jte files will be turned into java classes _after_ the main application code is built, and will be separate resources to be loaded by the jte runtime.
  • Method Summary

    Modifier and Type
    Method
    Description
    static JteStage
    Returns the enum constant of this class with the specified name.
    static JteStage[]
    Returns an array containing the constants of this enum class, in the order they are declared.

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • PRECOMPILE

      public static final JteStage PRECOMPILE
      "precompile" means that jte files will be turned into java classes _after_ the main application code is built, and will be separate resources to be loaded by the jte runtime.
    • GENERATE

      public static final JteStage GENERATE
      "generate" means that jte files will be converted into Java source _before_ the main java code of your project is compiled, and will become part of your application jar during project build.
  • Method Details

    • values

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