|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DmnDecisionResult
The result of one decision evaluation. It can be composed of multiple
DmnDecisionResultEntriess which represents the output entries (i.e.,
pairs of output name and value).
In case of a decision with a decision table, the result has one
DmnDecisionResultEntries for each matched rule that contains the
output entries of this rule.
| Method Summary | ||
|---|---|---|
|
collectEntries(String outputName)
Collects the entries for a output name. |
|
DmnDecisionResultEntries |
getFirstResult()
Returns the first DmnDecisionResultEntries. |
|
List<Map<String,Object>> |
getResultList()
Returns the entries of all decision results. |
|
|
getSingleEntry()
Returns the value of the single entry of the decision result. |
|
|
getSingleEntryTyped()
Returns the typed value of the single entry of the decision result. |
|
DmnDecisionResultEntries |
getSingleResult()
Returns the single DmnDecisionResultEntries of the result. |
|
| Methods inherited from interface java.util.List |
|---|
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray |
| Method Detail |
|---|
DmnDecisionResultEntries getFirstResult()
DmnDecisionResultEntries.
DmnDecisionResultEntries getSingleResult()
DmnDecisionResultEntries of the result. Asserts
that only one decision result exist.
DmnEngineException - if more than one decision result exists<T> List<T> collectEntries(String outputName)
DmnDecisionResultEntries. Note that the
list may contains less entries than decision results if an output does not
contain a value for the output name.
T - the type of the result entryoutputName - the name of the output to collect
List<Map<String,Object>> getResultList()
DmnDecisionResultEntries.getEntryMap()<T> T getSingleEntry()
T - the type of the result entry
DmnEngineException - if more than one decision result or more than one result entry
existsgetSingleEntryTyped()<T extends org.camunda.bpm.engine.variable.value.TypedValue> T getSingleEntryTyped()
T - the type of the result entry
DmnEngineException - if more than one decision result or more than one result entry
existsgetSingleEntry()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||