public static enum ThreadLeakZombies.Consequence extends 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(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(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 © 2011–2015 Carrot Search s.c.. All rights reserved.