Enum AbstractStreamDecoder.StreamReadStatus
- java.lang.Object
-
- java.lang.Enum<AbstractStreamDecoder.StreamReadStatus>
-
- org.apache.maven.surefire.api.stream.AbstractStreamDecoder.StreamReadStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractStreamDecoder.StreamReadStatus>
public static enum AbstractStreamDecoder.StreamReadStatus extends Enum<AbstractStreamDecoder.StreamReadStatus>
Underflow - could not completely read out al bytes in one call.
Overflow - read all bytes or more
EOF - end of stream
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractStreamDecoder.StreamReadStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractStreamDecoder.StreamReadStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNDERFLOW
public static final AbstractStreamDecoder.StreamReadStatus UNDERFLOW
-
OVERFLOW
public static final AbstractStreamDecoder.StreamReadStatus OVERFLOW
-
EOF
public static final AbstractStreamDecoder.StreamReadStatus EOF
-
-
Method Detail
-
values
public static AbstractStreamDecoder.StreamReadStatus[] 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 (AbstractStreamDecoder.StreamReadStatus c : AbstractStreamDecoder.StreamReadStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractStreamDecoder.StreamReadStatus 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
-
-