public class DmnFunctionsImpl extends Object
Constructor and Description |
---|
DmnFunctionsImpl() |
Modifier and Type | Method and Description |
---|---|
void |
addInputAt(ExecutionContext ctx,
Decimal index,
RecordHolder input)
Adds the input parameter at the given index.
|
void |
addOutputAt(ExecutionContext ctx,
Decimal index,
RecordHolder output)
Adds the output parameter at the given index.
|
ListHolder |
evaluateList(ExecutionContext ctx,
ListHolder inputValues)
Evaluates the decision table.
|
ListHolder |
evaluateMap(ExecutionContext ctx,
MapHolder inputValues)
Evaluates the decision table.
|
void |
removeInputAt(ExecutionContext ctx,
Decimal index)
Removes the input parameter at the given index.
|
void |
removeOutputAt(ExecutionContext ctx,
Decimal index)
Removes the output parameter at the given index.
|
public ListHolder evaluateMap(ExecutionContext ctx, MapHolder inputValues) throws ErrorException
ctx
- inputValues
- ErrorException
public ListHolder evaluateList(ExecutionContext ctx, ListHolder inputValues) throws ErrorException
ctx
- inputValues
- ErrorException
public void addInputAt(ExecutionContext ctx, Decimal index, RecordHolder input) throws ErrorException
ctx
- index
- input
- ErrorException
public void removeInputAt(ExecutionContext ctx, Decimal index) throws ErrorException
ctx
- index
- ErrorException
public void addOutputAt(ExecutionContext ctx, Decimal index, RecordHolder output) throws ErrorException
ctx
- index
- output
- ErrorException
public void removeOutputAt(ExecutionContext ctx, Decimal index) throws ErrorException
ctx
- index
- ErrorException
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.