Class PluggableComponentExecutor
java.lang.Object
com.codebarrel.jira.plugin.automation.module.legacy.PluggableComponentExecutor
- All Implemented Interfaces:
ComponentExecutor<JiraComponentInputs>,HybridActionExecutor,ActionExecutor<JiraComponentInputs>,JiraComponentExecutor
Allows for 3rd party components to run inside our app.
-
Constructor Summary
ConstructorsConstructorDescriptionPluggableComponentExecutor(String completeModuleKey, com.atlassian.plugin.automation.core.Action<Issue> actionModule) PluggableComponentExecutor(String completeModuleKey, com.atlassian.plugin.automation.core.Trigger<Issue> triggerModule) -
Method Summary
Modifier and TypeMethodDescriptionexecute(ComponentContext context, JiraComponentInputs inputs, AuditComponentChangeBuilder audit) Executes an action, give the provided context and inputs.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.codebarrel.automation.api.component.executor.action.HybridActionExecutor
getProjectIds
-
Constructor Details
-
PluggableComponentExecutor
-
PluggableComponentExecutor
-
-
Method Details
-
execute
public ComponentExecutionResult execute(ComponentContext context, JiraComponentInputs inputs, AuditComponentChangeBuilder audit) Description copied from interface:ComponentExecutorExecutes 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:
executein interfaceComponentExecutor<JiraComponentInputs>- Parameters:
context- The context to execute this componentinputs- Inputs needed by the component- Returns:
- the outputs of this executor (inputs with additional stuff) and what should happen next.
-