public class CommandExecution
extends java.lang.Object
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.
Constructor and Description |
---|
CommandExecution(Command command,
int executionCount) |
CommandExecution(Command command,
int executionCount,
int priority) |
CommandExecution(Command command,
int executionCount,
int priority,
java.util.Map<java.lang.String,java.lang.String> tags) |
CommandExecution(Command command,
int executionCount,
int priority,
java.util.Map<java.lang.String,java.lang.String> tags,
java.util.Map<java.lang.String,java.lang.String> overloadedVariables) |
Modifier and Type | Method and Description |
---|---|
Command |
getCommand() |
int |
getExecutionCount() |
static java.util.Map<java.lang.String,java.lang.String> |
getExecutionVariables(java.util.Map<java.lang.String,java.lang.String> variables,
CommandExecution commandExecution) |
java.util.Map<java.lang.String,java.lang.String> |
getOverloadedVariables() |
int |
getPriority() |
java.util.Map<java.lang.String,java.lang.String> |
getTags() |
public CommandExecution(Command command, int executionCount)
public CommandExecution(Command command, int executionCount, int priority)
public CommandExecution(Command command, int executionCount, int priority, java.util.Map<java.lang.String,java.lang.String> tags)
public CommandExecution(Command command, int executionCount, int priority, java.util.Map<java.lang.String,java.lang.String> tags, java.util.Map<java.lang.String,java.lang.String> overloadedVariables)
public static java.util.Map<java.lang.String,java.lang.String> getExecutionVariables(java.util.Map<java.lang.String,java.lang.String> variables, CommandExecution commandExecution)
public Command getCommand()
public int getExecutionCount()
public int getPriority()
public java.util.Map<java.lang.String,java.lang.String> getTags()
public java.util.Map<java.lang.String,java.lang.String> getOverloadedVariables()
Copyright © 2020. All rights reserved.