Package org.camunda.bpm.dmn.engine
Interface DmnDecisionRuleResult
- All Superinterfaces:
- Map<String,,- Object> - Serializable
- All Known Implementing Classes:
- DmnDecisionRuleResultImpl
The result of one decision rule. This represents the output entry
 values of a matching decision rule. It is a mapping from the output
 
name attribute to the output value. If no name
 was given the key is null.- 
Nested Class Summary
- 
Method SummaryModifier and TypeMethodDescription<T> TReturns the value of the rule result entry for a given output name.Returns a map of the rule result entry values by output name.Returns a map of the typed rule result entry values by output name.<T extends TypedValue>
 TgetEntryTyped(String name) Returns the typed value of the rule result entry for a given output name.<T> TReturns the value of the first rule result entry.<T extends TypedValue>
 TReturns the typed value of the first rule result entry.<T> TReturns the value of the single entry of the decision rule result.<T extends TypedValue>
 TReturns the typed value of the single entry of the decision rule result.Methods inherited from interface java.util.Mapclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
- 
Method Details- 
getFirstEntry<T> T getFirstEntry()Returns the value of the first rule result entry.- Type Parameters:
- T- the type of the rule result entry
- Returns:
- the value of the first rule result entry or null if none exists
- See Also:
 
- 
getFirstEntryTypedReturns the typed value of the first rule result entry.- Type Parameters:
- T- the type of the rule result entry
- Returns:
- the typed value of the first rule result entry or null if none exists
- See Also:
 
- 
getSingleEntry<T> T getSingleEntry()Returns the value of the single entry of the decision rule result. Which asserts that the decision rule result only has one entry.- Type Parameters:
- T- the type of the rule result entry
- Returns:
- the value of the single rule result entry or null if none exists
- Throws:
- DmnEngineException- if more than one rule result entry exists
- See Also:
 
- 
getSingleEntryTypedReturns the typed value of the single entry of the decision rule result. Which asserts that the decision rule result only has one entry.- Type Parameters:
- T- the type of the rule result entry
- Returns:
- the typed value of the single rule result entry or null if none exists
- Throws:
- DmnEngineException- if more than one rule result entry exists
- See Also:
 
- 
getEntryReturns the value of the rule result entry for a given output name.- Type Parameters:
- T- the type of the rule 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:
 
- 
getEntryTypedReturns the typed value of the rule result entry for a given output name.- Type Parameters:
- T- the type of the rule 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:
 
- 
getEntryMapReturns a map of the rule result entry values by output name.- Returns:
- the values of the decision rule result entries
- See Also:
 
- 
getEntryMapTypedMap<String,TypedValue> getEntryMapTyped()Returns a map of the typed rule result entry values by output name.- Returns:
- the typed values of the decision rule result entries
- See Also:
 
 
-