Enum Class EmulatorMode

java.lang.Object
java.lang.Enum<EmulatorMode>
io.github.gregwhitaker.awsemulator.model.EmulatorMode
All Implemented Interfaces:
Serializable, Comparable<EmulatorMode>, Constable

public enum EmulatorMode extends Enum<EmulatorMode>
Selects the emulator whose resources a provisioning task manages. When an external connection is enabled, both modes use that endpoint without managing its lifecycle.
  • Enum Constant Details

    • MANAGED

      public static final EmulatorMode MANAGED
      Fresh runtime shared with this project's opted-in tests, removed at build completion.
    • DEVELOPMENT

      public static final EmulatorMode DEVELOPMENT
      Persistent runtime controlled by the development lifecycle tasks.
  • Method Details

    • values

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