public enum DeclarativeAgendaOption extends Enum<DeclarativeAgendaOption> implements SingleValueKieBaseOption
An enum to enable Declarative Agenda option. This is an experimental feature.
drools.declarativeAgenda = <true|false>DEFAULT = false.
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the L and R Unlinking option
|
Modifier and Type | Method and Description |
---|---|
static DeclarativeAgendaOption |
determineDeclarativeAgenda(String option) |
String |
getPropertyName() |
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 Option
public boolean isDeclarativeAgendaEnabled()
public static DeclarativeAgendaOption determineDeclarativeAgenda(String option)
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.