public interface DmnDecisionResultEntries extends Map<String,Object>, Serializable
Represents the output entries (i.e., pairs of output name and value).
In case of a decision with a decision table, the result contains the output
entries of a matched rule. Each output value is mapped to the output
name
attribute. If no name
was given then the entry key is
null
.
Modifier and Type | Method and Description |
---|---|
<T> T |
getEntry(String name)
Returns the value of the result entry for a given output name.
|
Map<String,Object> |
getEntryMap()
Returns a map of the result entry values by output name.
|
Map<String,TypedValue> |
getEntryMapTyped()
Returns a map of the typed result entry values by output name.
|
<T extends TypedValue> |
getEntryTyped(String name)
Returns the typed value of the result entry for a given output name.
|
<T> T |
getFirstEntry()
Returns the value of the first result entry.
|
<T extends TypedValue> |
getFirstEntryTyped()
Returns the typed value of the first result entry.
|
<T> T |
getSingleEntry()
Returns the value of the single entry of the decision result.
|
<T extends TypedValue> |
getSingleEntryTyped()
Returns the typed value of the single entry of the decision result.
|
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
<T> T getFirstEntry()
T
- the type of the result entrygetFirstEntryTyped()
<T extends TypedValue> T getFirstEntryTyped()
T
- the type of the result entrygetFirstEntry()
<T> T getSingleEntry()
T
- the type of the result entryDmnEngineException
- if more than one result entry existsgetSingleEntryTyped()
<T extends TypedValue> T getSingleEntryTyped()
T
- the type of the result entryDmnEngineException
- if more than one result entry existsgetSingleEntry()
<T> T getEntry(String name)
T
- the type of the result entryname
- the name of the outputgetEntryTyped(String)
<T extends TypedValue> T getEntryTyped(String name)
T
- the type of the result entryname
- the name of the outputgetEntry(String)
Map<String,Object> getEntryMap()
getEntryMapTyped()
Map<String,TypedValue> getEntryMapTyped()
getEntryMap()
Copyright © 2021. All rights reserved.