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,org.camunda.bpm.engine.variable.value.TypedValue> |
getEntryMapTyped()
Returns a map of the typed result entry values by output name.
|
<T extends org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.TypedValue> |
getSingleEntryTyped()
Returns the typed value of the single entry of the decision result.
|
<T> T getFirstEntry()
T
- the type of the result entrygetFirstEntryTyped()
<T extends org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.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,org.camunda.bpm.engine.variable.value.TypedValue> getEntryMapTyped()
getEntryMap()
Copyright © 2019. All rights reserved.