public enum UseThreadInterrupt extends Enum<UseThreadInterrupt>
Enum Constant and Description |
---|
ALWAYS |
NEVER |
WHEN_NECESSARY |
Modifier and Type | Method and Description |
---|---|
static UseThreadInterrupt |
fromValue(String v) |
String |
value() |
static UseThreadInterrupt |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static UseThreadInterrupt[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final UseThreadInterrupt NEVER
public static final UseThreadInterrupt WHEN_NECESSARY
public static final UseThreadInterrupt ALWAYS
public static UseThreadInterrupt[] values()
for (UseThreadInterrupt c : UseThreadInterrupt.values()) System.out.println(c);
public static UseThreadInterrupt 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 String value()
public static UseThreadInterrupt fromValue(String v)
Copyright © 2016 evolveum. All rights reserved.