Class CustomSmartValueExecutor
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.com.rproxy.goskope.common.customsmartvalue.CustomSmartValueExecutor
- All Implemented Interfaces:
ComponentExecutor
,ActionExecutor
-
Constructor Summary
ConstructorsConstructorDescriptionCustomSmartValueExecutor
(CustomSmartValueFetcherFactory customSmartValueFetcherFactory, IssueInputSubstitutionRenderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionexecute
(ComponentContext context, ComponentInputs inputs, AuditComponentChangeBuilder audit) Executes an action, give the provided context and inputs.void
loadCustomSmartValueWrapper
(IssueInputSubstitutionRenderer renderer, CustomSmartValueFetcherFactory customSmartValueFetcherFactory, ComponentContext context, ComponentInputs inputs, AuditComponentChangeBuilder audit, CustomSmartValueConfig config)
-
Constructor Details
-
CustomSmartValueExecutor
@Inject public CustomSmartValueExecutor(CustomSmartValueFetcherFactory customSmartValueFetcherFactory, IssueInputSubstitutionRenderer renderer)
-
-
Method Details
-
loadCustomSmartValueWrapper
public void loadCustomSmartValueWrapper(IssueInputSubstitutionRenderer renderer, CustomSmartValueFetcherFactory customSmartValueFetcherFactory, ComponentContext context, ComponentInputs inputs, AuditComponentChangeBuilder audit, CustomSmartValueConfig config) -
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.
-