133134135136137138139140
return simulationFluent; } public SimulationFluent end(String name) { addCommand(new GetVariableCommand(StatefulKnowledgeSession.class.getName())); addCommand(new SetVariableCommandFromLastReturn(name)); return simulationFluent; }
142143144145146147148149
public SimulationFluent end() { return simulationFluent; } public KieSessionSimulationFluent set(String name) { addCommand(new SetVariableCommandFromLastReturn(null, name)); return this; }