Class SimulationCancelationDelegate
- java.lang.Object
-
- org.palladiosimulator.simulizar.runtimestate.SimulationCancelationDelegate
-
public class SimulationCancelationDelegate extends Object
This class delegates the decision if the simulation should be cancelled to a provided function. Its purpose is to decouple the SimulizarRuntimeState from eclipse specific process logic.
-
-
Constructor Summary
Constructors Constructor Description SimulationCancelationDelegate(Supplier<Boolean> cancelledProvider)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isCanceled()
-