public enum ThreadSafeOption extends Enum<ThreadSafeOption> implements SingleValueKieSessionOption
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the thread safety configuration
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName() |
boolean |
isThreadSafe() |
static ThreadSafeOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ThreadSafeOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ThreadSafeOption YES
public static final ThreadSafeOption NO
public static final String PROPERTY_NAME
public static ThreadSafeOption[] values()
for (ThreadSafeOption c : ThreadSafeOption.values()) System.out.println(c);
public static ThreadSafeOption 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 getPropertyName()
getPropertyName
in interface Option
public boolean isThreadSafe()
Copyright © 2001–2021 JBoss by Red Hat. All rights reserved.