Class AddCustomerActionExecutor
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.action.addcustomer.AddCustomerActionExecutor
- All Implemented Interfaces:
ComponentExecutor<JiraComponentInputs>,HybridActionExecutor,ActionExecutor<JiraComponentInputs>,JiraComponentExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionAddCustomerActionExecutor(ClientFactory<JIRAClient> jiraClientFactory, IssueInputSubstitutionRenderer renderer, UserService userService, SmartBeanFactory smartBeanFactory) -
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
-
AddCustomerActionExecutor
@Inject public AddCustomerActionExecutor(ClientFactory<JIRAClient> jiraClientFactory, IssueInputSubstitutionRenderer renderer, UserService userService, SmartBeanFactory smartBeanFactory)
-
-
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.
-