public static enum IMCStackTrace.TruncationState extends java.lang.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(java.lang.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(java.lang.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(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static IMCStackTrace.TruncationState fromBoolean(java.lang.Boolean trunc)
trunc
- true
for truncated stack traces
, false
for
non-truncated stack traces
, and null
if the
state is unknown
public boolean isTruncated()
UNKNOWN
means not
truncated.true
if the stack trace has been truncated, false
otherwise