Interface Step
- All Known Implementing Classes:
DelayStep,Model,Scenario,StatusChangeStep,StatusEmissionStep,ValidatedHistoricalDataEmissionStep,ValidatedHistoricalDataStep
public interface Step
Defines a single step in a scenario.
A step can be part of the model (text) or the runtime structure.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(SimulationContext ctx) When a step is executed, it returns a list of steps, which should be executed next.
-
Method Details
-
execute
When a step is executed, it returns a list of steps, which should be executed next. It can also execute any other arbitrary code in this method.- Parameters:
ctx- context that might be needed by the step- Returns:
- next steps to be executed
-