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 EVENTEVENT_NOTAGLINKNONETASK_ENDTASK_NOTAG_ENDTASK_NOTAG_STARTTASK_START
-
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_NOTAG_START
public static final Mark.Operation TASK_NOTAG_START
-
TASK_END
public static final Mark.Operation TASK_END
-
TASK_NOTAG_END
public static final Mark.Operation TASK_NOTAG_END
-
EVENT
public static final Mark.Operation EVENT
-
EVENT_NOTAG
public static final Mark.Operation EVENT_NOTAG
-
LINK
public static final Mark.Operation LINK
-
-
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
-
-