public abstract class AbstractTaskService extends java.lang.Object implements ExecutableTaskInterface
ExecutableTaskInterface execute methods to obtain the
necessary resource details for task execution.MorpheusTaskContext| Constructor and Description |
|---|
AbstractTaskService() |
| Modifier and Type | Method and Description |
|---|---|
io.reactivex.Single<TaskConfig> |
buildComputeServerTaskConfig(ComputeServer server,
java.util.Map baseConfig,
Task task,
java.util.Collection excludes,
java.util.Map opts)
Get configuration details for execution in a remote server.
|
io.reactivex.Single<TaskConfig> |
buildContainerTaskConfig(Container container,
java.util.Map baseConfig,
Task task,
java.util.Collection excludes,
java.util.Map opts)
Get configuration details for execution in a container.
|
io.reactivex.Single<TaskConfig> |
buildInstanceTaskConfig(Instance instance,
java.util.Map baseConfig,
Task task,
java.util.Collection excludes,
java.util.Map opts)
Get configuration details for execution on an Instance
|
io.reactivex.Single<TaskConfig> |
buildLocalTaskConfig(java.util.Map baseConfig,
Task task,
java.util.Collection excludes,
java.util.Map opts)
Get configuration details for execution in a local context.
|
io.reactivex.Single<TaskConfig> |
buildRemoteTaskConfig(java.util.Map baseConfig,
Task task,
java.util.Collection excludes,
java.util.Map opts)
Get configuration details for execution in a remote context.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitexecuteContainerTask, executeContainerTask, executeLocalTask, executeRemoteTask, executeRemoteTask, executeServerTask, executeServerTask, getContextpublic io.reactivex.Single<TaskConfig> buildLocalTaskConfig(java.util.Map baseConfig, Task task, java.util.Collection excludes, java.util.Map opts)
baseConfig - generally an empty maptask - the Morpheus Task to be executedexcludes - String property names to excludeopts - options supplied from the execute methodTaskConfigpublic io.reactivex.Single<TaskConfig> buildInstanceTaskConfig(Instance instance, java.util.Map baseConfig, Task task, java.util.Collection excludes, java.util.Map opts)
instance - the provisioned instancebaseConfig - generally an empty maptask - the Morpheus Task to be executedexcludes - String property names to excludeopts - options supplied from the execute methodTaskConfigpublic io.reactivex.Single<TaskConfig> buildRemoteTaskConfig(java.util.Map baseConfig, Task task, java.util.Collection excludes, java.util.Map opts)
baseConfig - generally an empty maptask - the Morpheus Task to be executedexcludes - String property names to excludeopts - options supplied from the execute methodTaskConfigpublic io.reactivex.Single<TaskConfig> buildContainerTaskConfig(Container container, java.util.Map baseConfig, Task task, java.util.Collection excludes, java.util.Map opts)
container - the provisioned VM or ContainerbaseConfig - generally an empty maptask - the Morpheus Task to be executedexcludes - String property names to excludeopts - options supplied from the execute methodTaskConfigpublic io.reactivex.Single<TaskConfig> buildComputeServerTaskConfig(ComputeServer server, java.util.Map baseConfig, Task task, java.util.Collection excludes, java.util.Map opts)
server - the provisioned serverbaseConfig - generally an empty maptask - the Morpheus Task to be executedexcludes - String property names to excludeopts - options supplied from the execute methodTaskConfig