public interface DmnDecisionRuleResult extends Map<String,Object>, Serializable
name attribute to the output value. If no name
was given the key is null.| Modifier and Type | Method and Description |
|---|---|
<T> T |
getEntry(String name)
Returns the value of the rule result entry for a given output name.
|
Map<String,Object> |
getEntryMap()
Returns a map of the rule result entry values by output name.
|
Map<String,TypedValue> |
getEntryMapTyped()
Returns a map of the typed rule result entry values by output name.
|
<T extends TypedValue> |
getEntryTyped(String name)
Returns the typed value of the rule result entry for a given output name.
|
<T> T |
getFirstEntry()
Returns the value of the first rule result entry.
|
<T extends TypedValue> |
getFirstEntryTyped()
Returns the typed value of the first rule result entry.
|
<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.
|
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 rule result entrygetFirstEntryTyped()<T extends TypedValue> T getFirstEntryTyped()
T - the type of the rule result entrygetFirstEntry()<T> T getSingleEntry()
T - the type of the rule result entryDmnEngineException - if more than one rule result entry existsgetSingleEntryTyped()<T extends TypedValue> T getSingleEntryTyped()
T - the type of the rule result entryDmnEngineException - if more than one rule result entry existsgetSingleEntry()<T> T getEntry(String name)
T - the type of the rule result entryname - the name of the outputgetEntryTyped(String)<T extends TypedValue> T getEntryTyped(String name)
T - the type of the rule result entryname - the name of the outputgetEntry(String)Map<String,Object> getEntryMap()
getEntryMapTyped()Map<String,TypedValue> getEntryMapTyped()
getEntryMap()Copyright © 2022. All rights reserved.