|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExecutionService
ExecutionService provides interface to all dispatcher and command execution services.
Field Summary | |
---|---|
static java.lang.String |
SERVICE_NAME
|
Method Summary | |
---|---|
DispatcherResult |
dispatchToNodes(StepExecutionContext context,
Dispatchable item)
Dispatch the command (execution item) to all the nodes within the context. |
DispatcherResult |
dispatchToNodes(StepExecutionContext context,
NodeStepExecutionItem item)
Dispatch the command (execution item) to all the nodes within the context. |
NodeExecutorResult |
executeCommand(ExecutionContext context,
java.lang.String[] command,
INodeEntry node)
Execute a command within the context on the node. |
ExecutionResult |
executeItem(StepExecutionContext context,
StepExecutionItem item)
Deprecated. use executeStep(com.dtolabs.rundeck.core.execution.workflow.StepExecutionContext, StepExecutionItem) |
NodeStepResult |
executeNodeStep(StepExecutionContext context,
NodeStepExecutionItem item,
INodeEntry node)
Interpret the execution item within the context for the given node. |
StepExecutionResult |
executeStep(StepExecutionContext context,
StepExecutionItem item)
Execute a workflow step item for the given context and return the result. |
java.lang.String |
fileCopyFile(ExecutionContext context,
java.io.File file,
INodeEntry node)
Copy file to the node. |
java.lang.String |
fileCopyFileStream(ExecutionContext context,
java.io.InputStream input,
INodeEntry node)
Copy inputstream as a file to the node. |
java.lang.String |
fileCopyScriptContent(ExecutionContext context,
java.lang.String script,
INodeEntry node)
Copy string as a file to the node, |
Methods inherited from interface com.dtolabs.rundeck.core.common.FrameworkSupportService |
---|
getName |
Field Detail |
---|
static final java.lang.String SERVICE_NAME
Method Detail |
---|
ExecutionResult executeItem(StepExecutionContext context, StepExecutionItem item) throws ExecutionException, ExecutionServiceException
executeStep(com.dtolabs.rundeck.core.execution.workflow.StepExecutionContext, StepExecutionItem)
item
- item
ExecutionException
ExecutionServiceException
StepExecutionResult executeStep(StepExecutionContext context, StepExecutionItem item) throws StepException
item
- item
StepException
NodeStepResult executeNodeStep(StepExecutionContext context, NodeStepExecutionItem item, INodeEntry node) throws NodeStepException
NodeStepException
DispatcherResult dispatchToNodes(StepExecutionContext context, NodeStepExecutionItem item) throws DispatcherException, ExecutionServiceException
DispatcherException
ExecutionServiceException
DispatcherResult dispatchToNodes(StepExecutionContext context, Dispatchable item) throws DispatcherException, ExecutionServiceException
DispatcherException
ExecutionServiceException
java.lang.String fileCopyFileStream(ExecutionContext context, java.io.InputStream input, INodeEntry node) throws FileCopierException
FileCopierException
java.lang.String fileCopyFile(ExecutionContext context, java.io.File file, INodeEntry node) throws FileCopierException
FileCopierException
java.lang.String fileCopyScriptContent(ExecutionContext context, java.lang.String script, INodeEntry node) throws FileCopierException
FileCopierException
NodeExecutorResult executeCommand(ExecutionContext context, java.lang.String[] command, INodeEntry node)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |