Interface ComponentExecutor<T extends ComponentInputs>
- All Known Subinterfaces:
ActionExecutor<T>,BaseVersionActionExecutor,BranchExecutor,ConditionExecutor,HybridActionExecutor,IssueRequiredActionExecutor,IssueRequiredExecutor,JiraComponentExecutor,PureActionExecutor,TriggerExecutor<T>
- All Known Implementing Classes:
AddCustomerActionExecutor,AddWorklogActionExecutor,AffectedServicesConditionExecutor,ArchiveActionExecutor,AssignIssueActionExecutor,AutoApproveActionExecutor,BaseIssueLinkTriggerExecutor,BaseSprintTriggerExecutor,BaseVersionTriggerExecutor,BranchCreatedTriggerExecutor,BranchTriggerExecutor,CloneIssueActionExecutor,CommentActionExecutor,CommitCreatedTriggerExecutor,ComparatorExecutor,ConditionBlockExecutor,CreateIssueActionExecutor,CreateServiceDeskRequestActionExecutor,CreateSubtasksActionExecutor,CreateVersionActionExecutor,CustomSmartValueExecutor,DeleteActionExecutor,DeleteAttachmentsActionExecutor,DeleteCommentActionExecutor,DeleteIssueLinkActionExecutor,DevopsEventTriggerExecutor,EditIssueActionExecutor,FieldChangedTriggerExecutor,HasAttachmentsCondition,HipChatNotificationActionExecutor,IncomingWebhookTriggerExecutor,IssueAssignedTriggerExecutor,IssueCommentedTriggerExecutor,IssueConditionExecutor,IssueEventTriggerExecutor,IssueLinkCreatedTriggerExecutor,IssueLinkDeletedTriggerExecutor,IssueMovedTriggerExecutor,IssuePropertySetTriggerExecutor,IssueTransitionedTriggerExecutor,JqlCondition,JqlScheduledTriggerExecutor,LinkIssueActionExecutor,LogActionExecutor,ManageWatcherActionExecutor,ManualTriggerExecutor,MicrosoftTeamsNotificationActionExecutor,MultipleIssueEventTriggerExecutor,NoOpExecutor,OutgoingEmailActionExecutor,OutgoingWebhookActionExecutor,PluggableComponentExecutor,PublishEventActionExecutor,PullRequestCreatedTriggerExecutor,PullRequestDeclinedTriggerExecutor,PullRequestMergedTriggerExecutor,RefreshIssueActionExecutor,RelatedIssuesBranchExecutor,RelatedIssuesConditionExecutor,ReleaseVersionActionExecutor,ServiceLimitBreachedTriggerExecutor,SetEntityPropertyActionExecutor,SimulationActionExecutor,SimulationTriggerExecutor,SlackNotificationActionExecutor,SlaThresholdBreachedTriggerExecutor,SprintClosedTriggerExecutor,SprintCreatedTriggerExecutor,SprintStartedTriggerExecutor,StrideNotificationActionExecutor,ThirdPartyComponentExecutor,TransitionIssueActionExecutor,TwilioNotificationActionExecutor,UnknownComponentExecutor,UnreleaseVersionActionExecutor,UserCondition,VersionCreatedTriggerExecutor,VersionReleasedTriggerExecutor,VersionUnreleasedTriggerExecutor,VersionUpdatedTriggerExecutor,WorkLoggedTriggerExecutor
public interface ComponentExecutor<T extends ComponentInputs>
Implementations of this interface are the doers of automation rules. They will actually perform
the actions intended by the automation rule.
They can pick out the appropriate inputs from the map provided and add additonal information to the outputs.
-
Method Summary
Modifier and TypeMethodDescriptionexecute(ComponentContext context, T inputs, AuditComponentChangeBuilder audit) Executes an action, give the provided context and inputs.
-
Method Details
-
execute
ComponentExecutionResult execute(ComponentContext context, T inputs, AuditComponentChangeBuilder audit) 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.- 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.
-