Package | Description |
---|---|
hu.elte.txtuml.api.model.execution |
Modifier and Type | Method and Description |
---|---|
ModelExecutor |
ModelExecutor.addErrorListener(ErrorListener listener)
Adds a new
ErrorListener to be called when errors are raised
during the model execution. |
S |
CastedModelExecutor.addErrorListener(ErrorListener listener) |
ModelExecutor |
ModelExecutor.addTraceListener(TraceListener listener)
Adds a new
TraceListener to be called when certain (valid) events
happen during the model execution. |
S |
CastedModelExecutor.addTraceListener(TraceListener listener) |
ModelExecutor |
ModelExecutor.addWarningListener(WarningListener listener)
Adds a new
WarningListener to be called when warnings are raised
during the model execution. |
S |
CastedModelExecutor.addWarningListener(WarningListener listener) |
ModelExecutor |
ModelExecutor.launch()
A shorthand operation for
ModelExecutor.start() . |
S |
CastedModelExecutor.launch() |
ModelExecutor |
ModelExecutor.launch(java.lang.Runnable initialization)
A shorthand operation for
ModelExecutor.setInitialization(Runnable) . |
S |
CastedModelExecutor.launch(java.lang.Runnable initialization) |
ModelExecutor |
ModelExecutor.removeErrorListener(ErrorListener listener)
Removes the given error listener.
|
S |
CastedModelExecutor.removeErrorListener(ErrorListener listener) |
ModelExecutor |
ModelExecutor.removeTraceListener(TraceListener listener)
Removes the given trace listener.
|
S |
CastedModelExecutor.removeTraceListener(TraceListener listener) |
ModelExecutor |
ModelExecutor.removeWarningListener(WarningListener listener)
Removes the given warning listener.
|
S |
CastedModelExecutor.removeWarningListener(WarningListener listener) |
void |
ModelExecutor.run()
A shorthand operation for
ModelExecutor.start() . |
void |
ModelExecutor.run(java.lang.Runnable initialization)
A shorthand operation for
ModelExecutor.setInitialization(Runnable) . |
ModelExecutor |
ModelExecutor.setDynamicChecks(boolean newValue)
Sets whether optional dynamic checks should be performed during model
execution.
|
S |
CastedModelExecutor.setDynamicChecks(boolean newValue) |
ModelExecutor |
ModelExecutor.setExecutionTimeMultiplier(double newMultiplier)
The model execution time helps testing txtUML models in the following
way: when any time-related event inside the model is set to take
ms milliseconds, that event will take ms
*
mul milliseconds during model execution, where mul is the
current execution time multiplier. |
S |
CastedModelExecutor.setExecutionTimeMultiplier(double newMultiplier) |
ModelExecutor |
ModelExecutor.setInitialization(java.lang.Runnable initialization)
The given initialization will run as part of the model on a model
executor thread as the first step of the model execution (optional
operation).
|
S |
CastedModelExecutor.setInitialization(java.lang.Runnable initialization) |
ModelExecutor |
ModelExecutor.setTraceLogging(boolean newValue)
Sets whether executor's trace log has to be shown.
|
S |
CastedModelExecutor.setTraceLogging(boolean newValue) |
ModelExecutor |
ModelExecutor.start()
Starts a model execution with the previously specified initialization and
sets the status of this executor to
ModelExecutor.Status.ACTIVE . |
S |
CastedModelExecutor.start() |
ModelExecutor |
ModelExecutor.start(java.lang.Runnable initialization)
A shorthand operation for
ModelExecutor.setInitialization(Runnable) . |
S |
CastedModelExecutor.start(java.lang.Runnable initialization) |