Package io.temporal.opentracing
Enum SpanOperationType
- java.lang.Object
-
- java.lang.Enum<SpanOperationType>
-
- io.temporal.opentracing.SpanOperationType
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SpanOperationType>
public enum SpanOperationType extends java.lang.Enum<SpanOperationType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RUN_ACTIVITYRUN_WORKFLOWSIGNAL_WITH_START_WORKFLOWSTART_ACTIVITYSTART_CHILD_WORKFLOWSTART_CONTINUE_AS_NEW_WORKFLOWSTART_WORKFLOW
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDefaultPrefix()static SpanOperationTypevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SpanOperationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
START_WORKFLOW
public static final SpanOperationType START_WORKFLOW
-
SIGNAL_WITH_START_WORKFLOW
public static final SpanOperationType SIGNAL_WITH_START_WORKFLOW
-
RUN_WORKFLOW
public static final SpanOperationType RUN_WORKFLOW
-
START_CHILD_WORKFLOW
public static final SpanOperationType START_CHILD_WORKFLOW
-
START_CONTINUE_AS_NEW_WORKFLOW
public static final SpanOperationType START_CONTINUE_AS_NEW_WORKFLOW
-
START_ACTIVITY
public static final SpanOperationType START_ACTIVITY
-
RUN_ACTIVITY
public static final SpanOperationType RUN_ACTIVITY
-
-
Method Detail
-
values
public static SpanOperationType[] 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 (SpanOperationType c : SpanOperationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SpanOperationType 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
-
getDefaultPrefix
public java.lang.String getDefaultPrefix()
-
-