Package io.perfmark.impl
Enum Mark.Operation
- java.lang.Object
-
- java.lang.Enum<Mark.Operation>
-
- io.perfmark.impl.Mark.Operation
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<Mark.Operation>
- Enclosing class:
- Mark
public static enum Mark.Operation extends java.lang.Enum<Mark.Operation>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ATTACH_TAGEVENTEVENT_MEVENT_TEVENT_TMLINKLINK_MNONETASK_ENDTASK_END_MTASK_END_TTASK_END_TMTASK_STARTTASK_START_MTASK_START_TTASK_START_TM
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Mark.OperationvalueOf(int ordinal)Returns the enum constant of this type with the specified name.static Mark.OperationvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static Mark.Operation[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final Mark.Operation NONE
-
TASK_START
public static final Mark.Operation TASK_START
-
TASK_START_T
public static final Mark.Operation TASK_START_T
-
TASK_START_M
public static final Mark.Operation TASK_START_M
-
TASK_START_TM
public static final Mark.Operation TASK_START_TM
-
TASK_END
public static final Mark.Operation TASK_END
-
TASK_END_T
public static final Mark.Operation TASK_END_T
-
TASK_END_M
public static final Mark.Operation TASK_END_M
-
TASK_END_TM
public static final Mark.Operation TASK_END_TM
-
EVENT
public static final Mark.Operation EVENT
-
EVENT_T
public static final Mark.Operation EVENT_T
-
EVENT_M
public static final Mark.Operation EVENT_M
-
EVENT_TM
public static final Mark.Operation EVENT_TM
-
LINK
public static final Mark.Operation LINK
-
LINK_M
public static final Mark.Operation LINK_M
-
ATTACH_TAG
public static final Mark.Operation ATTACH_TAG
-
-
Method Detail
-
values
public static Mark.Operation[] 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 (Mark.Operation c : Mark.Operation.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Mark.Operation 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
-
valueOf
public static Mark.Operation valueOf(int ordinal)
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:
ordinal- 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
-
-