public static enum IMCStackTrace.TruncationState extends Enum<IMCStackTrace.TruncationState>
| Enum Constant and Description |
|---|
NOT_TRUNCATED
The stack trace has not been truncated.
|
TRUNCATED
The stack trace has been truncated.
|
UNKNOWN
Is is unknown if the stack trace has been truncated or not.
|
| Modifier and Type | Method and Description |
|---|---|
static IMCStackTrace.TruncationState |
fromBoolean(Boolean trunc)
Get the correct truncation state enum value based on a Boolean value.
|
boolean |
isTruncated()
For all intents and purposes, we assume that
UNKNOWN means not
truncated. |
static IMCStackTrace.TruncationState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IMCStackTrace.TruncationState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IMCStackTrace.TruncationState TRUNCATED
public static final IMCStackTrace.TruncationState NOT_TRUNCATED
public static final IMCStackTrace.TruncationState UNKNOWN
public static IMCStackTrace.TruncationState[] values()
for (IMCStackTrace.TruncationState c : IMCStackTrace.TruncationState.values()) System.out.println(c);
public static IMCStackTrace.TruncationState 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 nullpublic static IMCStackTrace.TruncationState fromBoolean(Boolean trunc)
trunc - true for truncated stack traces, false for
non-truncated stack traces, and null if the
state is unknownpublic boolean isTruncated()
UNKNOWN means not
truncated.true if the stack trace has been truncated, false otherwiseCopyright © 2019. All rights reserved.