public enum SessionCacheOption extends Enum<SessionCacheOption> implements SingleValueKnowledgeBuilderOption, org.kie.api.conf.SingleValueKieBaseOption
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the process string escapes option
|
Modifier and Type | Method and Description |
---|---|
static SessionCacheOption |
determineOption(String val) |
String |
getPropertyName() |
boolean |
isAsync() |
boolean |
isEnabled() |
static SessionCacheOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SessionCacheOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SessionCacheOption NONE
public static final SessionCacheOption SYNC
public static final SessionCacheOption ASYNC
public static final String PROPERTY_NAME
public static SessionCacheOption[] values()
for (SessionCacheOption c : SessionCacheOption.values()) System.out.println(c);
public static SessionCacheOption 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 org.kie.api.conf.Option
public static SessionCacheOption determineOption(String val)
public boolean isEnabled()
public boolean isAsync()
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.