Enum SegmentType
- java.lang.Object
-
- java.lang.Enum<SegmentType>
-
- org.apache.maven.surefire.api.stream.SegmentType
-
- All Implemented Interfaces:
Serializable
,Comparable<SegmentType>
public enum SegmentType extends Enum<SegmentType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DATA_BYTE
DATA_INT
DATA_INTEGER
DATA_STRING
DATA_STRING_ARRAY
END_OF_FRAME
RUN_MODE
STRING_ENCODING
TEST_RUN_ID
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SegmentType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SegmentType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RUN_MODE
public static final SegmentType RUN_MODE
-
TEST_RUN_ID
public static final SegmentType TEST_RUN_ID
-
STRING_ENCODING
public static final SegmentType STRING_ENCODING
-
DATA_STRING
public static final SegmentType DATA_STRING
-
DATA_INTEGER
public static final SegmentType DATA_INTEGER
-
DATA_INT
public static final SegmentType DATA_INT
-
DATA_BYTE
public static final SegmentType DATA_BYTE
-
DATA_STRING_ARRAY
public static final SegmentType DATA_STRING_ARRAY
-
END_OF_FRAME
public static final SegmentType END_OF_FRAME
-
-
Method Detail
-
values
public static SegmentType[] 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 (SegmentType c : SegmentType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SegmentType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-