Class HasAttachmentsCondition
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.condition.attachments.HasAttachmentsCondition
- All Implemented Interfaces:
ComponentExecutor<JiraComponentInputs>,ComponentValidator,ConditionExecutor,IssueRequiredExecutor,JiraComponentExecutor
@Component
public class HasAttachmentsCondition
extends Object
implements ConditionExecutor, ComponentValidator, IssueRequiredExecutor
-
Field Summary
Fields inherited from interface com.codebarrel.automation.api.component.executor.IssueRequiredExecutor
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecuteWithIssues(ComponentContext context, List<SmartIssueBean> issueBeans, JiraComponentInputs inputs, AuditComponentChangeBuilder audit) voidvalidate(ComponentContext context, RemoteConnectUser remoteUser, ErrorCollection errors) Validates the passed inComponentContext(theComponentConfigBeanto be specific).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.ComponentValidator
getBulkValidationParameters, validateForExecutionMethods inherited from interface com.codebarrel.automation.api.component.executor.IssueRequiredExecutor
execute
-
Constructor Details
-
HasAttachmentsCondition
public HasAttachmentsCondition()
-
-
Method Details
-
executeWithIssues
public ComponentExecutionResult executeWithIssues(ComponentContext context, List<SmartIssueBean> issueBeans, JiraComponentInputs inputs, AuditComponentChangeBuilder audit) - Specified by:
executeWithIssuesin interfaceIssueRequiredExecutor
-
validate
public void validate(ComponentContext context, RemoteConnectUser remoteUser, ErrorCollection errors) Description copied from interface:ComponentValidatorValidates the passed inComponentContext(theComponentConfigBeanto be specific).- Specified by:
validatein interfaceComponentValidator- Parameters:
context- The context to validateremoteUser- the user performing the actionerrors- ErrorCollection to add errors to. Errors will be added in the form of 'component:<componentId>'.
-