- All Implemented Interfaces:
Serializable
,Comparable<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 Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic TraceSetMode
Returns the enum constant of this type with the specified name.static TraceSetMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
KEEP
Keep the existing set, possibly adding to it. (This is the default.) -
REMOVE
Each TraceSet that is provided in the current timeline entry will be removed from an object's TraceSet list. -
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
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
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 nameNullPointerException
- if the argument is null
-