Class PluggableComponentExecutor

java.lang.Object
com.codebarrel.jira.plugin.automation.module.legacy.PluggableComponentExecutor
All Implemented Interfaces:
ComponentExecutor<JiraComponentInputs>, HybridActionExecutor, ActionExecutor<JiraComponentInputs>, JiraComponentExecutor

public class PluggableComponentExecutor extends Object implements HybridActionExecutor
Allows for 3rd party components to run inside our app.
  • Constructor Details

    • PluggableComponentExecutor

      public PluggableComponentExecutor(String completeModuleKey, com.atlassian.plugin.automation.core.Action<Issue> actionModule)
    • PluggableComponentExecutor

      public PluggableComponentExecutor(String completeModuleKey, com.atlassian.plugin.automation.core.Trigger<Issue> triggerModule)
  • Method Details

    • execute

      Description copied from interface: ComponentExecutor
      Executes an action, give the provided context and inputs. Implementations can pick and chose what inputs they wish to handle. Implementations can choose if they want to stop execution of the component chain by returning an appropriate execution reuls. Implementations can also add additional inputs for the next component in the chain.
      Specified by:
      execute in interface ComponentExecutor<JiraComponentInputs>
      Parameters:
      context - The context to execute this component
      inputs - Inputs needed by the component
      Returns:
      the outputs of this executor (inputs with additional stuff) and what should happen next.