public enum DeclarativeAgendaOption extends Enum<DeclarativeAgendaOption> implements SingleValueKnowledgeBaseOption
An enum to enable Declarative Agenda option.
drools.declarativeAgenda = <true|false>DEFAULT = false.
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_NAME
The property name for the L&R Unlinking option
|
| Modifier and Type | Method and Description |
|---|---|
String |
getPropertyName()
Returns the property name for this option
|
boolean |
isDeclarativeAgendaEnabled() |
static DeclarativeAgendaOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeclarativeAgendaOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeclarativeAgendaOption ENABLED
public static final DeclarativeAgendaOption DISABLED
public static final String PROPERTY_NAME
public static DeclarativeAgendaOption[] values()
for (DeclarativeAgendaOption c : DeclarativeAgendaOption.values()) System.out.println(c);
public static DeclarativeAgendaOption 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 Optionpublic boolean isDeclarativeAgendaEnabled()
Copyright © 2001–2015 JBoss by Red Hat. All rights reserved.