public class KogitoScenarioSimulationBuilder extends Object
ScenarioSimulationModel
inside Callback
s
Mostly copied from org.drools.workbench.screens.scenariosimulation.backend.server.util.SimulationSettingsCreationStrategy
and its children.
Implemented to manage the nested callbacks for DMN
Modifier and Type | Class and Description |
---|---|
protected static class |
KogitoScenarioSimulationBuilder.FactMappingExtractor |
Constructor and Description |
---|
KogitoScenarioSimulationBuilder() |
Modifier and Type | Method and Description |
---|---|
protected void |
addFactMapping(KogitoScenarioSimulationBuilder.FactMappingExtractor factMappingExtractor,
FactModelTree factModelTree,
List<String> previousSteps,
Map<String,FactModelTree> hiddenValues) |
protected org.drools.scenariosimulation.api.model.Simulation |
createDMNSimulation(FactModelTuple factModelTuple) |
protected org.drools.scenariosimulation.api.model.Simulation |
createRULESimulation() |
protected static double |
getColumnWidth(String expressionIdentifierName)
It defines the column width of a new column, based on its
FactMapping.expressionIdentifier.getName() field |
void |
populateScenarioSimulationModel(org.drools.scenariosimulation.api.model.ScenarioSimulationModel content,
org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type,
String value,
org.jboss.errai.common.client.api.RemoteCallback<String> callback)
Populate the given
ScenarioSimulationModel and returns it inn the given callback |
public void populateScenarioSimulationModel(org.drools.scenariosimulation.api.model.ScenarioSimulationModel content, org.drools.scenariosimulation.api.model.ScenarioSimulationModel.Type type, String value, org.jboss.errai.common.client.api.RemoteCallback<String> callback)
ScenarioSimulationModel
and returns it inn the given callback
content
- type
- value
- callback
- protected org.drools.scenariosimulation.api.model.Simulation createRULESimulation()
protected org.drools.scenariosimulation.api.model.Simulation createDMNSimulation(FactModelTuple factModelTuple)
protected static double getColumnWidth(String expressionIdentifierName)
FactMapping.expressionIdentifier.getName()
fieldexpressionIdentifierName
- protected void addFactMapping(KogitoScenarioSimulationBuilder.FactMappingExtractor factMappingExtractor, FactModelTree factModelTree, List<String> previousSteps, Map<String,FactModelTree> hiddenValues)
Copyright © 2001–2020 JBoss by Red Hat. All rights reserved.