Class BaseVersionTriggerExecutor
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.trigger.version.BaseVersionTriggerExecutor
- All Implemented Interfaces:
ComponentExecutor
,TriggerExecutor
- Direct Known Subclasses:
VersionCreatedTriggerExecutor
,VersionReleasedTriggerExecutor
,VersionUnreleasedTriggerExecutor
,VersionUpdatedTriggerExecutor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ComponentContext context, ComponentInputs 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, wait
Methods inherited from interface com.codebarrel.automation.api.component.executor.TriggerExecutor
canHandle
-
Constructor Details
-
BaseVersionTriggerExecutor
-
-
Method Details
-
execute
public ComponentExecutionResult execute(ComponentContext context, ComponentInputs inputs, AuditComponentChangeBuilder audit) Description copied from interface:ComponentExecutor
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.- Specified by:
execute
in interfaceComponentExecutor
- 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.
-