Enum Class UpdateMode

java.lang.Object
java.lang.Enum<UpdateMode>
com.rpl.agentorama.UpdateMode
All Implemented Interfaces:
Serializable, Comparable<UpdateMode>, Constable

public enum UpdateMode extends Enum<UpdateMode>
Controls how in-flight agent executions should be handled after a module is updated. When a module is updated while agent executions are running, this enum determines what happens to those executions.
  • Enum Constant Details

    • CONTINUE

      public static final UpdateMode CONTINUE
      Continue in-flight executions where they left off. Executions will continue from their current state after the module update.
    • RESTART

      public static final UpdateMode RESTART
      Restart in-flight executions from the beginning. Executions will be restarted from the start after the module update.
    • DROP

      public static final UpdateMode DROP
      Drop in-flight executions. Executions will be terminated and not restarted after the module update.
  • Method Details

    • values

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