@OpenApiAll public class SimulationSession extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Element |
element
The execution element.
|
protected ExecutionEngine |
engine
The execution engine.
|
protected SimulationExecution |
execution
Execution of this session.
|
protected java.util.concurrent.atomic.AtomicBoolean |
isClosed
The is closed.
|
Constructor and Description |
---|
SimulationSession() |
Modifier and Type | Method and Description |
---|---|
Element |
getElement()
Return the execution element.
|
ExecutionEngine |
getEngine()
Return the execution engine.
|
SimulationExecution |
getExecution()
Gets the execution of this SimulationSession.
|
boolean |
isClosed()
Check whether the simulation session is closed/terminated or not.
|
void |
setElement(Element element)
Set the execution element.
|
void |
setEngine(ExecutionEngine engine)
Set the execution engine.
|
protected Element element
protected ExecutionEngine engine
protected SimulationExecution execution
protected java.util.concurrent.atomic.AtomicBoolean isClosed
public Element getElement()
public void setElement(Element element)
element
- the element to setpublic ExecutionEngine getEngine()
public void setEngine(ExecutionEngine engine)
engine
- the engine to setpublic SimulationExecution getExecution()
public boolean isClosed()