public class DmnDecisionResultEntriesImpl extends Object implements DmnDecisionResultEntries
Modifier and Type | Class and Description |
---|---|
protected class |
DmnDecisionResultEntriesImpl.DmnDecisionRuleOutputEntry |
Modifier and Type | Field and Description |
---|---|
static DmnEngineLogger |
LOG |
protected Map<String,TypedValue> |
outputValues |
Constructor and Description |
---|
DmnDecisionResultEntriesImpl() |
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 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.
|
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)
DmnDecisionResultEntries
getEntry
in interface DmnDecisionResultEntries
T
- the type of the result entryname
- the name of the outputDmnDecisionResultEntries.getEntryTyped(String)
public <T extends TypedValue> T getEntryTyped(String name)
DmnDecisionResultEntries
getEntryTyped
in interface DmnDecisionResultEntries
T
- the type of the result entryname
- the name of the outputDmnDecisionResultEntries.getEntry(String)
public <T extends TypedValue> T getFirstEntryTyped()
DmnDecisionResultEntries
getFirstEntryTyped
in interface DmnDecisionResultEntries
T
- the type of the result entryDmnDecisionResultEntries.getFirstEntry()
public <T extends TypedValue> T getSingleEntryTyped()
DmnDecisionResultEntries
getSingleEntryTyped
in interface DmnDecisionResultEntries
T
- the type of the result entryDmnDecisionResultEntries.getSingleEntry()
public <T> T getFirstEntry()
DmnDecisionResultEntries
getFirstEntry
in interface DmnDecisionResultEntries
T
- the type of the result entryDmnDecisionResultEntries.getFirstEntryTyped()
public <T> T getSingleEntry()
DmnDecisionResultEntries
getSingleEntry
in interface DmnDecisionResultEntries
T
- the type of the result entryDmnDecisionResultEntries.getSingleEntryTyped()
public Map<String,Object> getEntryMap()
DmnDecisionResultEntries
getEntryMap
in interface DmnDecisionResultEntries
DmnDecisionResultEntries.getEntryMapTyped()
public Map<String,TypedValue> getEntryMapTyped()
DmnDecisionResultEntries
getEntryMapTyped
in interface DmnDecisionResultEntries
DmnDecisionResultEntries.getEntryMap()
public boolean containsKey(Object key)
containsKey
in interface Map<String,Object>
public boolean containsValue(Object value)
containsValue
in interface Map<String,Object>
Copyright © 2019. All rights reserved.