org.drools.fluent.simulation.impl
Class DefaultSimulationFluent
java.lang.Object
org.drools.fluent.test.impl.AbstractTestableFluent<SimulationFluent>
org.drools.fluent.simulation.impl.DefaultSimulationFluent
- All Implemented Interfaces:
- org.drools.fluent.FluentRoot, SimulationFluent, TestableFluent<SimulationFluent>
public class DefaultSimulationFluent
- extends AbstractTestableFluent<SimulationFluent>
- implements SimulationFluent
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultSimulationFluent
public DefaultSimulationFluent()
getVariableContext
public <P> org.drools.fluent.VariableContext<P> getVariableContext()
- Specified by:
getVariableContext in interface org.drools.fluent.FluentRoot
newPath
public SimulationFluent newPath()
newPath
public SimulationFluent newPath(String id)
- Specified by:
newPath in interface SimulationFluent
getPath
public SimulationFluent getPath(String id)
- Specified by:
getPath in interface SimulationFluent
getActivePath
public org.drools.simulation.SimulationPath getActivePath()
newStep
public SimulationFluent newStep(long distanceMillis)
- Specified by:
newStep in interface SimulationFluent
newStep
public SimulationFluent newStep(long distanceMillis,
TimeUnit timeUnit)
- Specified by:
newStep in interface SimulationFluent
newRelativeStep
public SimulationFluent newRelativeStep(long relativeDistanceMillis)
- Specified by:
newRelativeStep in interface SimulationFluent
newRelativeStep
public SimulationFluent newRelativeStep(long relativeDistance,
TimeUnit timeUnit)
- Specified by:
newRelativeStep in interface SimulationFluent
getActiveStep
public org.drools.simulation.SimulationStep getActiveStep()
addCommand
public SimulationFluent addCommand(org.drools.command.Command command)
- Specified by:
addCommand in interface SimulationFluent- Specified by:
addCommand in class AbstractTestableFluent<SimulationFluent>
getActiveKnowledgeBuilderId
public String getActiveKnowledgeBuilderId()
- Specified by:
getActiveKnowledgeBuilderId in interface SimulationFluent
newKnowledgeBuilder
public KnowledgeBuilderSimFluent newKnowledgeBuilder()
- Specified by:
newKnowledgeBuilder in interface SimulationFluent
newKnowledgeBuilder
public KnowledgeBuilderSimFluent newKnowledgeBuilder(String id)
getKnowledgeBuilder
public KnowledgeBuilderSimFluent getKnowledgeBuilder()
- Specified by:
getKnowledgeBuilder in interface SimulationFluent
getKnowledgeBuilder
public KnowledgeBuilderSimFluent getKnowledgeBuilder(String id)
- Specified by:
getKnowledgeBuilder in interface SimulationFluent
getActiveKnowledgeBaseId
public String getActiveKnowledgeBaseId()
- Specified by:
getActiveKnowledgeBaseId in interface SimulationFluent
newKnowledgeBase
public KnowledgeBaseSimFluent newKnowledgeBase()
- Specified by:
newKnowledgeBase in interface SimulationFluent
newKnowledgeBase
public KnowledgeBaseSimFluent newKnowledgeBase(String id)
getKnowledgeBase
public KnowledgeBaseSimFluent getKnowledgeBase()
- Specified by:
getKnowledgeBase in interface SimulationFluent
getKnowledgeBase
public KnowledgeBaseSimFluent getKnowledgeBase(String id)
- Specified by:
getKnowledgeBase in interface SimulationFluent
assureActiveKnowledgeBase
public void assureActiveKnowledgeBase()
getActiveKnowledgeSessionId
public String getActiveKnowledgeSessionId()
- Specified by:
getActiveKnowledgeSessionId in interface SimulationFluent
newStatefulKnowledgeSession
public StatefulKnowledgeSessionSimFluent newStatefulKnowledgeSession()
- Specified by:
newStatefulKnowledgeSession in interface SimulationFluent
newStatefulKnowledgeSession
public StatefulKnowledgeSessionSimFluent newStatefulKnowledgeSession(String id)
getStatefulKnowledgeSession
public StatefulKnowledgeSessionSimFluent getStatefulKnowledgeSession()
- Specified by:
getStatefulKnowledgeSession in interface SimulationFluent
getStatefulKnowledgeSession
public StatefulKnowledgeSessionSimFluent getStatefulKnowledgeSession(String id)
- Specified by:
getStatefulKnowledgeSession in interface SimulationFluent
getSimulation
public org.drools.simulation.Simulation getSimulation()
- Description copied from interface:
SimulationFluent
- Gets the Simulation
- Specified by:
getSimulation in interface SimulationFluent
- Returns:
- never null
runSimulation
public void runSimulation()
- Description copied from interface:
SimulationFluent
- Run the Simulation with startTimeMillis now.
- Specified by:
runSimulation in interface SimulationFluent
runSimulation
public void runSimulation(long startTimeMillis)
- Description copied from interface:
SimulationFluent
- Run the Simulation.
- Specified by:
runSimulation in interface SimulationFluent
- Parameters:
startTimeMillis - never null
Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.