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 a ProvisioningProvider is also available.
    • Method Detail

      • getService

        ExecutableTaskInterface getService()
        A service class containing task execution logic
        Returns:
        a task service
      • 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 configuration OptionType
        Returns:
        a List of OptionType