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,org.camunda.bpm.engine.variable.value.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,org.camunda.bpm.engine.variable.value.TypedValue> |
getEntryMapTyped()
Returns a map of the typed rule result entry values by output name.
|
<T extends org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.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,org.camunda.bpm.engine.variable.value.TypedValue> values) |
void |
putValue(String name,
org.camunda.bpm.engine.variable.value.TypedValue value) |
Object |
remove(Object key) |
int |
size() |
String |
toString() |
Collection<Object> |
values() |
public static final DmnEngineLogger LOG
public void putValue(String name, org.camunda.bpm.engine.variable.value.TypedValue value)
public void putAllValues(Map<String,org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.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 org.camunda.bpm.engine.variable.value.TypedValue> T getFirstEntryTyped()
DmnDecisionRuleResult
getFirstEntryTyped
in interface DmnDecisionRuleResult
T
- the type of the rule result entryDmnDecisionRuleResult.getFirstEntry()
public <T extends org.camunda.bpm.engine.variable.value.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,org.camunda.bpm.engine.variable.value.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 © 2019. All rights reserved.