Class CloseParentOnSubTaskCompleteRule
java.lang.Object
com.codebarrel.automation.sample.rules.rules.global.CloseParentOnSubTaskCompleteRule
- All Implemented Interfaces:
SampleRule
Close the parent when all sub-tasks are resolved
-
Constructor Summary
ConstructorsConstructorDescriptionCloseParentOnSubTaskCompleteRule(SampleRulesBuilderFactory sampleRulesBuilderFactory, I18nFactory i18nFactory, StatusService statusService) -
Method Summary
Modifier and TypeMethodDescriptionOptional<com.codebarrel.automation.api.config.RuleConfigBean> create(CreateSampleRulesRequest createRequest, List<com.codebarrel.automation.api.config.ProjectAssociationBean> projectAssociations)
-
Constructor Details
-
CloseParentOnSubTaskCompleteRule
@Inject public CloseParentOnSubTaskCompleteRule(SampleRulesBuilderFactory sampleRulesBuilderFactory, I18nFactory i18nFactory, StatusService statusService)
-
-
Method Details
-
create
public Optional<com.codebarrel.automation.api.config.RuleConfigBean> create(CreateSampleRulesRequest createRequest, List<com.codebarrel.automation.api.config.ProjectAssociationBean> projectAssociations) - Specified by:
createin interfaceSampleRule
-