public enum WarcTruncationReason extends Enum<WarcTruncationReason>
| Enum Constant and Description |
|---|
DISCONNECT
network disconnect
|
LENGTH
exceeds configured max length
|
NOT_TRUNCATED
no truncation occurred
|
TIME
exceeds configured max time
|
UNSPECIFIED
other/unknown reason
|
| Modifier and Type | Method and Description |
|---|---|
static WarcTruncationReason |
valueOf(String name)
Returns 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.
|
public static final WarcTruncationReason NOT_TRUNCATED
public static final WarcTruncationReason LENGTH
public static final WarcTruncationReason TIME
public static final WarcTruncationReason DISCONNECT
public static final WarcTruncationReason UNSPECIFIED
public static WarcTruncationReason[] values()
for (WarcTruncationReason c : WarcTruncationReason.values()) System.out.println(c);
public static WarcTruncationReason valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022. All rights reserved.