public class DmnDecisionRuleResultImpl extends Object implements DmnDecisionRuleResult
| Modifier and Type | Class and Description |
|---|---|
protected class |
DmnDecisionRuleResultImpl.DmnDecisionRuleOutputEntry |
| Modifier and Type | Field and Description |
|---|---|
static DmnEngineLogger |
LOG |
protected Map<String,TypedValue> |
outputValues |
| Constructor and Description |
|---|
DmnDecisionRuleResultImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
Object |
get(Object key) |
<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.
|
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String key,
Object value) |
void |
putAll(Map<? extends String,?> m) |
void |
putAllValues(Map<String,TypedValue> values) |
void |
putValue(String name,
TypedValue value) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final DmnEngineLogger LOG
protected final Map<String,TypedValue> outputValues
public void putValue(String name, TypedValue value)
public void putAllValues(Map<String,TypedValue> values)
public <T> T getEntry(String name)
DmnDecisionRuleResultgetEntry in interface DmnDecisionRuleResultT - the type of the rule result entryname - the name of the outputDmnDecisionRuleResult.getEntryTyped(String)public <T extends TypedValue> T getEntryTyped(String name)
DmnDecisionRuleResultgetEntryTyped in interface DmnDecisionRuleResultT - the type of the rule result entryname - the name of the outputDmnDecisionRuleResult.getEntry(String)public <T extends TypedValue> T getFirstEntryTyped()
DmnDecisionRuleResultgetFirstEntryTyped in interface DmnDecisionRuleResultT - the type of the rule result entryDmnDecisionRuleResult.getFirstEntry()public <T extends TypedValue> T getSingleEntryTyped()
DmnDecisionRuleResultgetSingleEntryTyped in interface DmnDecisionRuleResultT - the type of the rule result entryDmnDecisionRuleResult.getSingleEntry()public <T> T getFirstEntry()
DmnDecisionRuleResultgetFirstEntry in interface DmnDecisionRuleResultT - the type of the rule result entryDmnDecisionRuleResult.getFirstEntryTyped()public <T> T getSingleEntry()
DmnDecisionRuleResultgetSingleEntry in interface DmnDecisionRuleResultT - the type of the rule result entryDmnDecisionRuleResult.getSingleEntryTyped()public Map<String,Object> getEntryMap()
DmnDecisionRuleResultgetEntryMap in interface DmnDecisionRuleResultDmnDecisionRuleResult.getEntryMapTyped()public Map<String,TypedValue> getEntryMapTyped()
DmnDecisionRuleResultgetEntryMapTyped in interface DmnDecisionRuleResultDmnDecisionRuleResult.getEntryMap()public boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>Copyright © 2022. All rights reserved.