Class IncomingWebhookTriggerValidator
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.trigger.incomingwebhook.IncomingWebhookTriggerValidator
- All Implemented Interfaces:
ComponentValidator
-
Constructor Summary
ConstructorsConstructorDescriptionIncomingWebhookTriggerValidator(JqlQueryValidator jqlQueryValidator, I18nFactory i18nFactory, IssueInputSubstitutionRenderer renderer, AutomationConfigStore store, AddonProperties addonProperties, IssueRequiredValidator issueRequiredValidator, FeatureManager featureManager) -
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
-
IncomingWebhookTriggerValidator
@Inject public IncomingWebhookTriggerValidator(JqlQueryValidator jqlQueryValidator, I18nFactory i18nFactory, IssueInputSubstitutionRenderer renderer, AutomationConfigStore store, AddonProperties addonProperties, IssueRequiredValidator issueRequiredValidator, FeatureManager featureManager)
-
-
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
-