Package com.powsybl.computation
Class CommandExecution
- java.lang.Object
-
- com.powsybl.computation.CommandExecution
-
public class CommandExecution extends Object
A command execution essentially defines how aCommand
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
-
-
Constructor Summary
Constructors Constructor Description CommandExecution(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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Command
getCommand()
int
getExecutionCount()
static Map<String,String>
getExecutionVariables(Map<String,String> variables, CommandExecution commandExecution)
Map<String,String>
getOverloadedVariables()
int
getPriority()
Map<String,String>
getTags()
-
-
-
Constructor Detail
-
CommandExecution
public CommandExecution(Command command, int executionCount)
-
CommandExecution
public CommandExecution(Command command, int executionCount, int priority)
-
CommandExecution
public CommandExecution(Command command, int executionCount, int priority, Map<String,String> tags)
-
-