Class IssueMovedTriggerExecutor
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.trigger.event.IssueEventTriggerExecutor
com.codebarrel.automation.rulecomponent.jira.trigger.event.moved.IssueMovedTriggerExecutor
- All Implemented Interfaces:
ComponentExecutor,TriggerExecutor
-
Field Summary
FieldsFields inherited from class com.codebarrel.automation.rulecomponent.jira.trigger.event.IssueEventTriggerExecutor
addonProperties, issueEventMatcher, issueRefreshResolver, issueResolver -
Constructor Summary
ConstructorsConstructorDescriptionIssueMovedTriggerExecutor(IssueEventMatcher issueEventMatcher, ComponentIssueResolver issueResolver, AddonProperties addonProperties, SmartIssueInputPopulator smartIssueInputPopulator, RemotePermissionService remotePermissionService, IssueRefreshResolver issueRefreshResolver, UserService userService, TenantService tenantService, RuleScopeService ruleScopeService) -
Method Summary
Modifier and TypeMethodDescriptionbooleancanHandle(ComponentContext context, ComponentInputs inputs) Checks if a trigger can handle the inputs provided.Methods inherited from class com.codebarrel.automation.rulecomponent.jira.trigger.event.IssueEventTriggerExecutor
execute
-
Field Details
-
ANY_PROJECT_ID
- See Also:
-
-
Constructor Details
-
IssueMovedTriggerExecutor
@Inject public IssueMovedTriggerExecutor(IssueEventMatcher issueEventMatcher, ComponentIssueResolver issueResolver, AddonProperties addonProperties, SmartIssueInputPopulator smartIssueInputPopulator, RemotePermissionService remotePermissionService, IssueRefreshResolver issueRefreshResolver, UserService userService, TenantService tenantService, RuleScopeService ruleScopeService)
-
-
Method Details
-
canHandle
Description copied from interface:TriggerExecutorChecks if a trigger can handle the inputs provided. This method should return false if no inputs are available that this component can process. Note that this will stop the rule from executing at that point, so if you want to do nothing in the rule, return true and do checks in the execute method.- Specified by:
canHandlein interfaceTriggerExecutor- Overrides:
canHandlein classIssueEventTriggerExecutor- Parameters:
context- The context to execute this componentinputs- Inputs needed by the component- Returns:
- false if this component can't handle the provided inputs.
-