Class RelatedIssuesConditionValidator
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.condition.relatedissues.RelatedIssuesConditionValidator
- All Implemented Interfaces:
ComponentValidator
@Component
public class RelatedIssuesConditionValidator
extends Object
implements ComponentValidator
-
Constructor Summary
ConstructorsConstructorDescriptionRelatedIssuesConditionValidator(I18nFactory i18nFactory, JqlQueryValidator jqlQueryValidator, IssueInputSubstitutionRenderer renderer) -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(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
validateForExecution
-
Constructor Details
-
RelatedIssuesConditionValidator
@Inject public RelatedIssuesConditionValidator(I18nFactory i18nFactory, JqlQueryValidator jqlQueryValidator, IssueInputSubstitutionRenderer renderer)
-
-
Method Details
-
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>'.
-
getBulkValidationParameters
- Specified by:
getBulkValidationParametersin interfaceComponentValidator
-