Package com.morpheusdata.core
Interface TaskProvider
-
- All Superinterfaces:
PluginProvider
public interface TaskProvider extends PluginProvider
Provides a standard set of methods for interacting with cloud integrations or on-prem service providers. This includes syncing assets related to things like VirtualMachines or Containers for various cloud types. For integrating with actual provisioning aProvisioningProvider
is also available.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDescription()
Icon
getIcon()
Returns the Task Type Icon for display when a user is browsing tasksjava.util.List<OptionType>
getOptionTypes()
Additional task configurationOptionType
TaskType.TaskScope
getScope()
ExecutableTaskInterface
getService()
A service class containing task execution logicjava.lang.Boolean
hasResults()
A flag indicating if the TaskType presents results that can be chained into other tasksjava.lang.Boolean
isAllowExecuteLocal()
A flag indicating if this task can be configured to execute on a remote contextjava.lang.Boolean
isAllowExecuteRemote()
A flag indicating if this task can be configured to execute on a remote contextjava.lang.Boolean
isAllowExecuteResource()
A flag indicating if this task can be configured to execute on a resourcejava.lang.Boolean
isAllowLocalRepo()
A flag indicating if this task can be configured to execute a script from a git repositoryjava.lang.Boolean
isAllowRemoteKeyAuth()
A flag indicating if this task can be configured with ssh keys-
Methods inherited from interface com.morpheusdata.core.PluginProvider
getCode, getMorpheus, getName, getPlugin, isPlugin
-
-
-
-
Method Detail
-
getService
ExecutableTaskInterface getService()
A service class containing task execution logic- Returns:
- a task service
-
getScope
TaskType.TaskScope getScope()
-
getDescription
java.lang.String getDescription()
-
isAllowExecuteLocal
java.lang.Boolean isAllowExecuteLocal()
A flag indicating if this task can be configured to execute on a remote context- Returns:
- boolean
-
isAllowExecuteRemote
java.lang.Boolean isAllowExecuteRemote()
A flag indicating if this task can be configured to execute on a remote context- Returns:
- boolean
-
isAllowExecuteResource
java.lang.Boolean isAllowExecuteResource()
A flag indicating if this task can be configured to execute on a resource- Returns:
- boolean
-
isAllowLocalRepo
java.lang.Boolean isAllowLocalRepo()
A flag indicating if this task can be configured to execute a script from a git repository- Returns:
- boolean
-
isAllowRemoteKeyAuth
java.lang.Boolean isAllowRemoteKeyAuth()
A flag indicating if this task can be configured with ssh keys- Returns:
- boolean
-
hasResults
java.lang.Boolean hasResults()
A flag indicating if the TaskType presents results that can be chained into other tasks- Returns:
-
getOptionTypes
java.util.List<OptionType> getOptionTypes()
Additional task configurationOptionType
- Returns:
- a List of OptionType
-
getIcon
Icon getIcon()
Returns the Task Type Icon for display when a user is browsing tasks- Returns:
- Icon representation of assets stored in the src/assets of the project.
- Since:
- 0.12.7
-
-