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, wait
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
public 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)
DmnDecisionRuleResult
getEntry
in interface DmnDecisionRuleResult
T
- the type of the rule result entryname
- the name of the outputDmnDecisionRuleResult.getEntryTyped(String)
public <T extends TypedValue> T getEntryTyped(String name)
DmnDecisionRuleResult
getEntryTyped
in interface DmnDecisionRuleResult
T
- the type of the rule result entryname
- the name of the outputDmnDecisionRuleResult.getEntry(String)
public <T extends TypedValue> T getFirstEntryTyped()
DmnDecisionRuleResult
getFirstEntryTyped
in interface DmnDecisionRuleResult
T
- the type of the rule result entryDmnDecisionRuleResult.getFirstEntry()
public <T extends TypedValue> T getSingleEntryTyped()
DmnDecisionRuleResult
getSingleEntryTyped
in interface DmnDecisionRuleResult
T
- the type of the rule result entryDmnDecisionRuleResult.getSingleEntry()
public <T> T getFirstEntry()
DmnDecisionRuleResult
getFirstEntry
in interface DmnDecisionRuleResult
T
- the type of the rule result entryDmnDecisionRuleResult.getFirstEntryTyped()
public <T> T getSingleEntry()
DmnDecisionRuleResult
getSingleEntry
in interface DmnDecisionRuleResult
T
- the type of the rule result entryDmnDecisionRuleResult.getSingleEntryTyped()
public Map<String,Object> getEntryMap()
DmnDecisionRuleResult
getEntryMap
in interface DmnDecisionRuleResult
DmnDecisionRuleResult.getEntryMapTyped()
public Map<String,TypedValue> getEntryMapTyped()
DmnDecisionRuleResult
getEntryMapTyped
in interface DmnDecisionRuleResult
DmnDecisionRuleResult.getEntryMap()
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
Copyright © 2021. All rights reserved.