Package org.camunda.bpm.dmn.engine.impl
Class DmnDecisionResultEntriesImpl
java.lang.Object
org.camunda.bpm.dmn.engine.impl.DmnDecisionResultEntriesImpl
- All Implemented Interfaces:
Serializable,Map<String,,Object> DmnDecisionResultEntries
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DmnEngineLoggerprotected final Map<String,TypedValue> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()booleancontainsKey(Object key) booleancontainsValue(Object value) entrySet()<T> TReturns the value of the result entry for a given output name.Returns a map of the result entry values by output name.Returns a map of the typed result entry values by output name.<T extends TypedValue>
TgetEntryTyped(String name) Returns the typed value of the result entry for a given output name.<T> TReturns the value of the first result entry.<T extends TypedValue>
TReturns the typed value of the first result entry.<T> TReturns the value of the single entry of the decision result.<T extends TypedValue>
TReturns the typed value of the single entry of the decision result.booleanisEmpty()keySet()voidvoidputAllValues(Map<String, TypedValue> values) voidputValue(String name, TypedValue value) intsize()toString()values()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Map
compute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAll
-
Field Details
-
LOG
-
outputValues
-
-
Constructor Details
-
DmnDecisionResultEntriesImpl
public DmnDecisionResultEntriesImpl()
-
-
Method Details
-
putValue
-
putAllValues
-
getEntry
Description copied from interface:DmnDecisionResultEntriesReturns the value of the result entry for a given output name.- Specified by:
getEntryin interfaceDmnDecisionResultEntries- Type Parameters:
T- the type of the result entry- Parameters:
name- the name of the output- Returns:
- the value for the given name or null if no value exists for this name
- See Also:
-
getEntryTyped
Description copied from interface:DmnDecisionResultEntriesReturns the typed value of the result entry for a given output name.- Specified by:
getEntryTypedin interfaceDmnDecisionResultEntries- Type Parameters:
T- the type of the result entry- Parameters:
name- the name of the output- Returns:
- the typed value for the given name or null if no value exists for this name
- See Also:
-
getFirstEntryTyped
Description copied from interface:DmnDecisionResultEntriesReturns the typed value of the first result entry.- Specified by:
getFirstEntryTypedin interfaceDmnDecisionResultEntries- Type Parameters:
T- the type of the result entry- Returns:
- the typed value of the first result entry or null if none exists
- See Also:
-
getSingleEntryTyped
Description copied from interface:DmnDecisionResultEntriesReturns the typed value of the single entry of the decision result. Asserts that the decision result only has one entry.- Specified by:
getSingleEntryTypedin interfaceDmnDecisionResultEntries- Type Parameters:
T- the type of the result entry- Returns:
- the typed value of the single result entry or null if none exists
- See Also:
-
getFirstEntry
public <T> T getFirstEntry()Description copied from interface:DmnDecisionResultEntriesReturns the value of the first result entry.- Specified by:
getFirstEntryin interfaceDmnDecisionResultEntries- Type Parameters:
T- the type of the result entry- Returns:
- the value of the first result entry or null if none exists
- See Also:
-
getSingleEntry
public <T> T getSingleEntry()Description copied from interface:DmnDecisionResultEntriesReturns the value of the single entry of the decision result. Asserts that the decision result only has one entry.- Specified by:
getSingleEntryin interfaceDmnDecisionResultEntries- Type Parameters:
T- the type of the result entry- Returns:
- the value of the single result entry or null if none exists
- See Also:
-
getEntryMap
Description copied from interface:DmnDecisionResultEntriesReturns a map of the result entry values by output name.- Specified by:
getEntryMapin interfaceDmnDecisionResultEntries- Returns:
- the values of the decision result entries
- See Also:
-
getEntryMapTyped
Description copied from interface:DmnDecisionResultEntriesReturns a map of the typed result entry values by output name.- Specified by:
getEntryMapTypedin interfaceDmnDecisionResultEntries- Returns:
- the typed values of the decision result entries
- See Also:
-
size
public int size() -
isEmpty
public boolean isEmpty() -
containsKey
- Specified by:
containsKeyin interfaceMap<String,Object>
-
keySet
-
values
-
toString
-
containsValue
- Specified by:
containsValuein interfaceMap<String,Object>
-
get
-
put
-
remove
-
putAll
-
clear
public void clear() -
entrySet
-