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