Class MicrosoftTeamsNotificationActionExecutor
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.action.msteams.MicrosoftTeamsNotificationActionExecutor
- All Implemented Interfaces:
ComponentExecutor<JiraComponentInputs>,HybridActionExecutor,ActionExecutor<JiraComponentInputs>,JiraComponentExecutor
@Component
public class MicrosoftTeamsNotificationActionExecutor
extends Object
implements HybridActionExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionMicrosoftTeamsNotificationActionExecutor(MicrosoftTeamsClient msTeamsClient, IssueInputSubstitutionRenderer renderer, I18nFactory i18nFactory, UserService userService, ExecutingRequestURLChecker requestValidator, SecretFieldResolver secretResolver) -
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
-
MicrosoftTeamsNotificationActionExecutor
@Inject public MicrosoftTeamsNotificationActionExecutor(MicrosoftTeamsClient msTeamsClient, IssueInputSubstitutionRenderer renderer, I18nFactory i18nFactory, UserService userService, ExecutingRequestURLChecker requestValidator, SecretFieldResolver secretResolver)
-
-
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.
-