Package com.powsybl.computation
Class CommandExecution
java.lang.Object
com.powsybl.computation.CommandExecution
A command execution essentially defines how a
Command
should be executed.
In particular, an execution number defines how many times the underlying command should be executed.
For each execution, the ComputationManager
should increment an execution index and request
the corresponding argument values.
This mechanism may be used to easily submit a number of commands which differ only by their argument.
- Author:
- Geoffroy Jamgotchian <geoffroy.jamgotchian at rte-france.com>
-
Constructor Summary
ConstructorDescriptionCommandExecution
(Command command, int executionCount) CommandExecution
(Command command, int executionCount, int priority) CommandExecution
(Command command, int executionCount, int priority, Map<String, String> tags) CommandExecution
(Command command, int executionCount, int priority, Map<String, String> tags, Map<String, String> overloadedVariables) -
Method Summary
Modifier and TypeMethodDescriptionint
getExecutionVariables
(Map<String, String> variables, CommandExecution commandExecution) int
getTags()
-
Constructor Details
-
CommandExecution
-
CommandExecution
-
CommandExecution
-
CommandExecution
-
-
Method Details
-
getExecutionVariables
-
getCommand
-
getExecutionCount
public int getExecutionCount() -
getPriority
public int getPriority() -
getTags
-
getOverloadedVariables
-