Package com.uc4.api.systemoverview
Enum HostTraceOptions.HostTraceTriggerType
- java.lang.Object
-
- java.lang.Enum<HostTraceOptions.HostTraceTriggerType>
-
- com.uc4.api.systemoverview.HostTraceOptions.HostTraceTriggerType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<HostTraceOptions.HostTraceTriggerType>
- Enclosing class:
- HostTraceOptions
public static enum HostTraceOptions.HostTraceTriggerType extends java.lang.Enum<HostTraceOptions.HostTraceTriggerType>
Enumeration for HostTraceTrigger types
-
-
Enum Constant Summary
Enum Constants Enum Constant Description REGEX_EXPRESSION
REGEX_EXPRESSION is used to indicate that the trigger text contains a regex expression that must match within one trace line.SIMPLE_STRING_MATCH
SIMPLE_STRING_MATCH is used to trigger a trace when the string passed in trigger text occurs somewhere in one trace line.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static HostTraceOptions.HostTraceTriggerType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static HostTraceOptions.HostTraceTriggerType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIMPLE_STRING_MATCH
public static final HostTraceOptions.HostTraceTriggerType SIMPLE_STRING_MATCH
SIMPLE_STRING_MATCH is used to trigger a trace when the string passed in trigger text occurs somewhere in one trace line.
-
REGEX_EXPRESSION
public static final HostTraceOptions.HostTraceTriggerType REGEX_EXPRESSION
REGEX_EXPRESSION is used to indicate that the trigger text contains a regex expression that must match within one trace line.
-
-
Method Detail
-
values
public static HostTraceOptions.HostTraceTriggerType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (HostTraceOptions.HostTraceTriggerType c : HostTraceOptions.HostTraceTriggerType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static HostTraceOptions.HostTraceTriggerType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-