public interface DmnDecisionTableResult extends List<DmnDecisionRuleResult>, Serializable
DmnDecisionRuleResult
). This represents the output entries of all matching
decision rules.Modifier and Type | Method and Description |
---|---|
<T> List<T> |
collectEntries(String outputName)
Collects the entries for a output name.
|
DmnDecisionRuleResult |
getFirstResult()
Returns the first
DmnDecisionRuleResult . |
List<Map<String,Object>> |
getResultList()
Returns the entries of all decision rule results.
|
<T> T |
getSingleEntry()
Returns the value of the single entry of the decision rule result.
|
<T extends TypedValue> |
getSingleEntryTyped()
Returns the typed value of the single entry of the decision rule result.
|
DmnDecisionRuleResult |
getSingleResult()
Returns the single
DmnDecisionRuleResult of the result. |
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
DmnDecisionRuleResult getFirstResult()
DmnDecisionRuleResult
.DmnDecisionRuleResult getSingleResult()
DmnDecisionRuleResult
of the result. Which asserts
that only one decision rule result exist.DmnEngineException
- if more than one decision rule result exists<T> List<T> collectEntries(String outputName)
DmnDecisionRuleResult
. Note that the list
may contains less entries than decision rule results if an output does not
contain a value for the output name.T
- the type of the rule result entryoutputName
- the name of the output to collectList<Map<String,Object>> getResultList()
DmnDecisionRuleResult.getEntryMap()
<T> T getSingleEntry()
T
- the type of the result entryDmnEngineException
- if more than one decision rule result or more than one result entry
existsgetSingleEntryTyped()
<T extends TypedValue> T getSingleEntryTyped()
T
- the type of the result entryDmnEngineException
- if more than one decision rule result or more than one result entry
existsgetSingleEntry()
Copyright © 2019. All rights reserved.