Drools Simulator 6.0.0.Beta1

org.drools.simulation.fluent.simulation
Interface SimulationFluent

All Superinterfaces:
org.kie.internal.fluent.FluentRoot, TestableFluent<SimulationFluent>
All Known Implementing Classes:
DefaultSimulationFluent

public interface SimulationFluent
extends org.kie.internal.fluent.FluentRoot, TestableFluent<SimulationFluent>


Method Summary
 SimulationFluent addCommand(org.kie.api.command.Command<?> command)
           
 String getActiveKieSessionId()
           
 StatefulKnowledgeSessionSimFluent getKieSession()
           
 StatefulKnowledgeSessionSimFluent getKieSession(String id)
           
 SimulationFluent getPath(String id)
           
 org.kie.internal.simulation.Simulation getSimulation()
          Gets the Simulation
 StatefulKnowledgeSessionSimFluent newKieSession(org.kie.api.builder.ReleaseId releaseId, String id)
           
 SimulationFluent newPath(String id)
           
 SimulationFluent newRelativeStep(long relativeDistance)
           
 SimulationFluent newRelativeStep(long relativeDistance, TimeUnit timeUnit)
           
 SimulationFluent newStep(long distanceMillis)
           
 SimulationFluent newStep(long distanceMillis, TimeUnit timeUnit)
           
 void runSimulation()
          Run the Simulation with startTimeMillis now.
 void runSimulation(long startTimeMillis)
          Run the Simulation.
 
Methods inherited from interface org.kie.internal.fluent.FluentRoot
getVariableContext
 
Methods inherited from interface org.drools.simulation.fluent.test.TestableFluent
test, test, test, test
 

Method Detail

newPath

SimulationFluent newPath(String id)

getPath

SimulationFluent getPath(String id)

newStep

SimulationFluent newStep(long distanceMillis)

newStep

SimulationFluent newStep(long distanceMillis,
                         TimeUnit timeUnit)

newRelativeStep

SimulationFluent newRelativeStep(long relativeDistance)

newRelativeStep

SimulationFluent newRelativeStep(long relativeDistance,
                                 TimeUnit timeUnit)

addCommand

SimulationFluent addCommand(org.kie.api.command.Command<?> command)

getActiveKieSessionId

String getActiveKieSessionId()

newKieSession

StatefulKnowledgeSessionSimFluent newKieSession(org.kie.api.builder.ReleaseId releaseId,
                                                String id)

getKieSession

StatefulKnowledgeSessionSimFluent getKieSession()

getKieSession

StatefulKnowledgeSessionSimFluent getKieSession(String id)

getSimulation

org.kie.internal.simulation.Simulation getSimulation()
Gets the Simulation

Returns:
never null

runSimulation

void runSimulation()
Run the Simulation with startTimeMillis now.


runSimulation

void runSimulation(long startTimeMillis)
Run the Simulation.

Parameters:
startTimeMillis - never null

Drools Simulator 6.0.0.Beta1

Copyright © 2001-2013 JBoss by Red Hat. All Rights Reserved.