| Package | Description |
|---|---|
| org.openksavi.sponge.core.rule |
Classes for rules.
|
| org.openksavi.sponge.core.util |
Classes for utility functionalities.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<TreeNode<RuleAdapterRuntime.NodeValue>> |
UnorderedRuleAdapterRuntime.resolveSubNodesToRun(TreeNode<RuleAdapterRuntime.NodeValue> node) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractRuleAdapterRuntime.buildEventTree(TreeNode<RuleAdapterRuntime.NodeValue> node,
Event event)
Continues building the event tree for the incoming event starting at the specified node.
|
protected boolean |
AbstractRuleAdapterRuntime.checkConditions(TreeNode<RuleAdapterRuntime.NodeValue> node)
Checks conditions for the given node (containing level and event).
|
protected int |
UnorderedRuleAdapterRuntime.getEventIndex(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected abstract int |
AbstractRuleAdapterRuntime.getEventIndex(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected int |
OrderedRuleAdapterRuntime.getEventIndex(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected EventMode |
UnorderedRuleAdapterRuntime.getEventMode(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected EventMode |
AbstractRuleAdapterRuntime.getEventMode(TreeNode<RuleAdapterRuntime.NodeValue> node)
Returns event mode.
|
protected int |
UnorderedRuleAdapterRuntime.getExpectedEventIndex(TreeNode<RuleAdapterRuntime.NodeValue> node,
Event event) |
protected abstract int |
AbstractRuleAdapterRuntime.getExpectedEventIndex(TreeNode<RuleAdapterRuntime.NodeValue> node,
Event event) |
protected int |
OrderedRuleAdapterRuntime.getExpectedEventIndex(TreeNode<RuleAdapterRuntime.NodeValue> node,
Event event)
Checks if the specified event is expected for the given level.
|
protected Set<Integer> |
UnorderedRuleAdapterRuntime.getPreviousHappenedEventIndexes(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected boolean |
AbstractRuleAdapterRuntime.handleNoneEventHappenedButShouldNot(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
TreeNode<RuleAdapterRuntime.NodeValue> node,
Event event) |
protected boolean |
AbstractRuleAdapterRuntime.handleNoneEventHappenedButShouldNot(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
TreeNode<RuleAdapterRuntime.NodeValue> node,
Event event) |
protected boolean |
UnorderedRuleAdapterRuntime.isLeafLevel(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected abstract boolean |
AbstractRuleAdapterRuntime.isLeafLevel(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected boolean |
OrderedRuleAdapterRuntime.isLeafLevel(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected void |
UnorderedRuleAdapterRuntime.prepareEventAliasMap(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected void |
AbstractRuleAdapterRuntime.prepareEventAliasMap(TreeNode<RuleAdapterRuntime.NodeValue> node)
Clears and sets up event alias map (event alias - event instance).
|
protected List<TreeNode<RuleAdapterRuntime.NodeValue>> |
UnorderedRuleAdapterRuntime.resolveSubNodesToRun(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected boolean |
AbstractRuleAdapterRuntime.runRule(TreeNode<RuleAdapterRuntime.NodeValue> node)
Attempts to run (fire) this rule for the specified node in the event tree.
|
protected boolean |
UnorderedRuleAdapterRuntime.runRuleForNonFinalNode(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected abstract boolean |
AbstractRuleAdapterRuntime.runRuleForNonFinalNode(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected boolean |
OrderedRuleAdapterRuntime.runRuleForNonFinalNode(TreeNode<RuleAdapterRuntime.NodeValue> node) |
protected boolean |
UnorderedRuleAdapterRuntime.shouldAddToEventTreeForFlaModes(TreeNode<RuleAdapterRuntime.NodeValue> newNode,
Event event)
Checks if the event should be added to the event tree for modes FIRST, LAST or ALL.
|
protected abstract boolean |
AbstractRuleAdapterRuntime.shouldAddToEventTreeForFlaModes(TreeNode<RuleAdapterRuntime.NodeValue> newNode,
Event event) |
protected boolean |
OrderedRuleAdapterRuntime.shouldAddToEventTreeForFlaModes(TreeNode<RuleAdapterRuntime.NodeValue> newNode,
Event event)
Checks if the event should be added to the event tree for modes FIRST, LAST or ALL.
|
protected boolean |
UnorderedRuleAdapterRuntime.shouldAddToEventTreeForNMode(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
org.apache.commons.lang3.mutable.Mutable<TreeNode<RuleAdapterRuntime.NodeValue>> newNodeHolder,
Event event) |
protected abstract boolean |
AbstractRuleAdapterRuntime.shouldAddToEventTreeForNMode(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
org.apache.commons.lang3.mutable.Mutable<TreeNode<RuleAdapterRuntime.NodeValue>> newNodeHolder,
Event event)
Checks if the event should be added to the event tree for mode NONE.
|
protected boolean |
OrderedRuleAdapterRuntime.shouldAddToEventTreeForNMode(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
org.apache.commons.lang3.mutable.Mutable<TreeNode<RuleAdapterRuntime.NodeValue>> newNodeHolder,
Event event) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
UnorderedRuleAdapterRuntime.shouldAddToEventTreeForNMode(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
org.apache.commons.lang3.mutable.Mutable<TreeNode<RuleAdapterRuntime.NodeValue>> newNodeHolder,
Event event) |
protected abstract boolean |
AbstractRuleAdapterRuntime.shouldAddToEventTreeForNMode(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
org.apache.commons.lang3.mutable.Mutable<TreeNode<RuleAdapterRuntime.NodeValue>> newNodeHolder,
Event event)
Checks if the event should be added to the event tree for mode NONE.
|
protected boolean |
OrderedRuleAdapterRuntime.shouldAddToEventTreeForNMode(TreeNode<RuleAdapterRuntime.NodeValue> parentNode,
org.apache.commons.lang3.mutable.Mutable<TreeNode<RuleAdapterRuntime.NodeValue>> newNodeHolder,
Event event) |
| Modifier and Type | Field and Description |
|---|---|
protected TreeNode<T> |
TreeNode.parent |
protected TreeNode<T> |
Tree.root |
| Modifier and Type | Field and Description |
|---|---|
protected List<TreeNode<T>> |
TreeNode.children |
| Modifier and Type | Method and Description |
|---|---|
TreeNode<T> |
TreeNode.getParent() |
TreeNode<T> |
Tree.getRoot() |
| Modifier and Type | Method and Description |
|---|---|
List<TreeNode<T>> |
TreeNode.getChildren() |
List<TreeNode<T>> |
TreeNode.getPath(TreeNode<T> node) |
List<TreeNode<T>> |
Tree.getPath(TreeNode<T> node) |
| Modifier and Type | Method and Description |
|---|---|
void |
TreeNode.addChild(TreeNode<T> node) |
List<TreeNode<T>> |
TreeNode.getPath(TreeNode<T> node) |
List<TreeNode<T>> |
Tree.getPath(TreeNode<T> node) |
List<T> |
TreeNode.getPathValues(TreeNode<T> node) |
List<T> |
Tree.getPathValues(TreeNode<T> node) |
void |
TreeNode.removeChild(int index,
TreeNode<T> node) |
void |
TreeNode.removeChild(TreeNode<T> node) |
void |
Tree.setRoot(TreeNode<T> node) |
Copyright © 2016–2021 Softelnet. All rights reserved.