Enum WarcTruncationReason
- All Implemented Interfaces:
Serializable,Comparable<WarcTruncationReason>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionnetwork disconnectexceeds configured max lengthno truncation occurredexceeds configured max timeother/unknown reason -
Method Summary
Modifier and TypeMethodDescriptionstatic WarcTruncationReasonReturns the enum constant of this type with the specified name.static WarcTruncationReason[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NOT_TRUNCATED
no truncation occurred -
LENGTH
exceeds configured max length -
TIME
exceeds configured max time -
DISCONNECT
network disconnect -
UNSPECIFIED
other/unknown reason
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-