Package org.drools.kiesession.agenda
Class CompositeDefaultAgenda
java.lang.Object
org.drools.kiesession.agenda.CompositeDefaultAgenda
- All Implemented Interfaces:
Externalizable,Serializable,ActivationsManager,InternalAgenda,Agenda
- See Also:
-
Field Summary
FieldsFields inherited from interface org.drools.core.common.ActivationsManager
ON_AFTER_ALL_FIRES_CONSEQUENCE_NAME, ON_BEFORE_ALL_FIRES_CONSEQUENCE_NAME, ON_DELETE_MATCH_CONSEQUENCE_NAME -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidactivate()voidactivateRuleFlowGroup(String name) voidactivateRuleFlowGroup(String name, String processInstanceId, String nodeInstanceId) voidvoidvoidaddPropagation(PropagationEntry propagationEntry) voidvoidcancelActivation(InternalMatch internalMatch) voidclear()voidvoidvoidclearAndCancelActivationGroup(InternalActivationGroup activationGroup) voidvoidcreateAgendaItem(RuleTerminalNodeLeftTuple rtnLeftTuple, int salience, PropagationContext context, RuleAgendaItem ruleAgendaItem, InternalAgendaGroup agendaGroup) createRuleAgendaItem(int salience, PathMemory rs, TerminalNode rtn) voidbooleanvoidvoidvoidvoidexecuteTask(ExecutableEntry executable) intfireAllRules(AgendaFilter agendaFilter, int fireLimit) voidvoidfireUntilHalt(AgendaFilter agendaFilter) voidgetActivationGroup(String name) getAgendaGroup(String name) getPartitionedAgenda(int partitionNr) getPartitionedAgendaForNode(org.drools.base.common.NetworkNode node) getRuleFlowGroup(String name) voidhalt()voidvoidhandleException(InternalMatch internalMatch, Exception e) booleanbooleanisAlive()booleanbooleanisFiring()booleanbooleanisRuleActiveInRuleFlowGroup(String ruleflowGroupName, String ruleName, String processInstanceId) voidvoidvoidregisterExpiration(PropagationContext expirationContext) voidvoidvoidreset()voidvoidbooleanintvoidstageLeftTuple(RuleAgendaItem ruleAgendaItem, InternalMatch justified) booleanvoid
-
Field Details
-
log
protected static final org.slf4j.Logger log
-
-
Constructor Details
-
CompositeDefaultAgenda
public CompositeDefaultAgenda() -
CompositeDefaultAgenda
-
-
Method Details
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
getPartitionedAgenda
- Specified by:
getPartitionedAgendain interfaceActivationsManager
-
getPartitionedAgendaForNode
- Specified by:
getPartitionedAgendaForNodein interfaceActivationsManager
-
getWorkingMemory
- Specified by:
getWorkingMemoryin interfaceInternalAgenda
-
getReteEvaluator
- Specified by:
getReteEvaluatorin interfaceActivationsManager
-
getAgendaGroupsManager
- Specified by:
getAgendaGroupsManagerin interfaceActivationsManager
-
getAgendaEventSupport
- Specified by:
getAgendaEventSupportin interfaceActivationsManager
-
peekNextRule
- Specified by:
peekNextRulein interfaceActivationsManager
-
fireAllRules
- Specified by:
fireAllRulesin interfaceActivationsManager- Specified by:
fireAllRulesin interfaceInternalAgenda
-
createRuleAgendaItem
- Specified by:
createRuleAgendaItemin interfaceActivationsManager
-
createAgendaItem
public InternalMatch createAgendaItem(RuleTerminalNodeLeftTuple rtnLeftTuple, int salience, PropagationContext context, RuleAgendaItem ruleAgendaItem, InternalAgendaGroup agendaGroup) - Specified by:
createAgendaItemin interfaceActivationsManager
-
fireUntilHalt
public void fireUntilHalt()- Specified by:
fireUntilHaltin interfaceInternalAgenda
-
fireUntilHalt
- Specified by:
fireUntilHaltin interfaceInternalAgenda
-
dispose
- Specified by:
disposein interfaceInternalAgenda
-
isAlive
public boolean isAlive()- Specified by:
isAlivein interfaceInternalAgenda
-
halt
public void halt()- Specified by:
haltin interfaceInternalAgenda
-
isFiring
public boolean isFiring()- Specified by:
isFiringin interfaceActivationsManager
-
addPropagation
- Specified by:
addPropagationin interfaceActivationsManager
-
flushPropagations
public void flushPropagations()- Specified by:
flushPropagationsin interfaceActivationsManager
-
notifyWaitOnRest
public void notifyWaitOnRest()- Specified by:
notifyWaitOnRestin interfaceInternalAgenda
-
haltGroupEvaluation
public void haltGroupEvaluation()- Specified by:
haltGroupEvaluationin interfaceActivationsManager
-
getActionsIterator
- Specified by:
getActionsIteratorin interfaceInternalAgenda
-
hasPendingPropagations
public boolean hasPendingPropagations()- Specified by:
hasPendingPropagationsin interfaceInternalAgenda
-
handleException
- Specified by:
handleExceptionin interfaceActivationsManager
-
clear
public void clear() -
reset
public void reset()- Specified by:
resetin interfaceInternalAgenda
-
executeTask
- Specified by:
executeTaskin interfaceActivationsManager
-
executeFlush
public void executeFlush()- Specified by:
executeFlushin interfaceInternalAgenda
-
activate
public void activate()- Specified by:
activatein interfaceInternalAgenda
-
deactivate
public void deactivate()- Specified by:
deactivatein interfaceInternalAgenda
-
tryDeactivate
public boolean tryDeactivate()- Specified by:
tryDeactivatein interfaceInternalAgenda
-
activateRuleFlowGroup
- Specified by:
activateRuleFlowGroupin interfaceInternalAgenda
-
activateRuleFlowGroup
- Specified by:
activateRuleFlowGroupin interfaceInternalAgenda
-
clearAndCancel
public void clearAndCancel()- Specified by:
clearAndCancelin interfaceInternalAgenda
-
clearAndCancelAgendaGroup
- Specified by:
clearAndCancelAgendaGroupin interfaceInternalAgenda
-
clearAndCancelActivationGroup
- Specified by:
clearAndCancelActivationGroupin interfaceActivationsManager- Specified by:
clearAndCancelActivationGroupin interfaceInternalAgenda
-
clearAndCancelActivationGroup
- Specified by:
clearAndCancelActivationGroupin interfaceActivationsManager
-
clearAndCancelRuleFlowGroup
- Specified by:
clearAndCancelRuleFlowGroupin interfaceInternalAgenda
-
getFocusName
- Specified by:
getFocusNamein interfaceInternalAgenda
-
cancelActivation
- Specified by:
cancelActivationin interfaceActivationsManager
-
isDeclarativeAgenda
public boolean isDeclarativeAgenda()- Specified by:
isDeclarativeAgendain interfaceInternalAgenda
-
getAgendaGroup
- Specified by:
getAgendaGroupin interfaceAgenda
-
setFocus
- Specified by:
setFocusin interfaceInternalAgenda
-
getActivationGroup
- Specified by:
getActivationGroupin interfaceAgenda
-
getRuleFlowGroup
- Specified by:
getRuleFlowGroupin interfaceAgenda
-
setActivationsFilter
- Specified by:
setActivationsFilterin interfaceInternalAgenda
-
getActivationsFilter
- Specified by:
getActivationsFilterin interfaceActivationsManager
-
addEagerRuleAgendaItem
- Specified by:
addEagerRuleAgendaItemin interfaceActivationsManager
-
removeEagerRuleAgendaItem
- Specified by:
removeEagerRuleAgendaItemin interfaceActivationsManager
-
addQueryAgendaItem
- Specified by:
addQueryAgendaItemin interfaceActivationsManager
-
removeQueryAgendaItem
- Specified by:
removeQueryAgendaItemin interfaceActivationsManager
-
stageLeftTuple
- Specified by:
stageLeftTuplein interfaceActivationsManager
-
evaluateEagerList
public void evaluateEagerList()- Specified by:
evaluateEagerListin interfaceActivationsManager
-
evaluateQueriesForRule
- Specified by:
evaluateQueriesForRulein interfaceActivationsManager
-
getActivationGroupsMap
- Specified by:
getActivationGroupsMapin interfaceInternalAgenda
-
sizeOfRuleFlowGroup
- Specified by:
sizeOfRuleFlowGroupin interfaceInternalAgenda
-
addItemToActivationGroup
- Specified by:
addItemToActivationGroupin interfaceActivationsManager
-
isRuleActiveInRuleFlowGroup
public boolean isRuleActiveInRuleFlowGroup(String ruleflowGroupName, String ruleName, String processInstanceId) - Specified by:
isRuleActiveInRuleFlowGroupin interfaceInternalAgenda
-
registerExpiration
- Specified by:
registerExpirationin interfaceActivationsManager
-
getKnowledgeHelper
- Specified by:
getKnowledgeHelperin interfaceActivationsManager
-
resetKnowledgeHelper
public void resetKnowledgeHelper()- Specified by:
resetKnowledgeHelperin interfaceActivationsManager
-
isParallelAgenda
public boolean isParallelAgenda()- Specified by:
isParallelAgendain interfaceInternalAgenda
-