Enum TraceSetMode

java.lang.Object
java.lang.Enum<TraceSetMode>
org.bzdev.devqsim.TraceSetMode
All Implemented Interfaces:
Serializable, Comparable<TraceSetMode>

public enum TraceSetMode extends Enum<TraceSetMode>
Mode for how tracesets are managed by a SimObjectFactory's timeline. Each entry in the timeline has a traceset mode indicating how the trace set is handled.
  • Enum Constant Details

    • KEEP

      public static final TraceSetMode KEEP
      Keep the existing set, possibly adding to it. (This is the default.)
    • REMOVE

      public static final TraceSetMode REMOVE
      Each TraceSet that is provided in the current timeline entry will be removed from an object's TraceSet list.
    • REPLACE

      public static final TraceSetMode REPLACE
      The previous TraceSet list will be replaced. If no trace sets are provided as a replacement, the TraceSet list will be cleared.
  • Method Details

    • values

      public static TraceSetMode[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static TraceSetMode valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null