Enum Class EvalMode

java.lang.Object
java.lang.Enum<EvalMode>
com.googlecode.aviator.EvalMode
All Implemented Interfaces:
Serializable, Comparable<EvalMode>, Constable

public enum EvalMode extends Enum<EvalMode>
Expression engine evaluate mode
Since:
5.3
  • Enum Constant Details

    • ASM

      public static final EvalMode ASM
      Generate JVM byecode by ASM and eval it by JVM.
    • INTERPRETER

      public static final EvalMode INTERPRETER
      Interpreter mode.
  • Constructor Details

    • EvalMode

      private EvalMode()
  • Method Details

    • values

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