public static enum ThreadLeakZombies.Consequence extends java.lang.Enum<ThreadLeakZombies.Consequence>
| Enum Constant and Description |
|---|
CONTINUE
Deprecated.
|
IGNORE_REMAINING_TESTS
Ignore any remaining tests once zombie threads have been detected.
|
| Modifier and Type | Method and Description |
|---|---|
static ThreadLeakZombies.Consequence |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ThreadLeakZombies.Consequence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final ThreadLeakZombies.Consequence CONTINUE
ThreadLeakAction.Action.INTERRUPT together with
IGNORE_REMAINING_TESTS to enforce interruption of leaked threads
and if this does not succeed just ignore any tests further on.
For the reasons outlined above, this enum flag is marked as
Deprecated. It will be supported and will not be removed,
however.
public static final ThreadLeakZombies.Consequence IGNORE_REMAINING_TESTS
CONTINUE for joint use with ThreadLeakAction.public static ThreadLeakZombies.Consequence[] values()
for (ThreadLeakZombies.Consequence c : ThreadLeakZombies.Consequence.values()) System.out.println(c);
public static ThreadLeakZombies.Consequence 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 nullCopyright © 2011–2018 Carrot Search s.c.. All rights reserved.