Class OutgoingWebhookActionValidator
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.action.outgoingwebhook.OutgoingWebhookActionValidator
- All Implemented Interfaces:
ComponentValidator
-
Constructor Summary
ConstructorsConstructorDescriptionOutgoingWebhookActionValidator(I18nFactory i18nFactory, IssueInputSubstitutionRenderer renderer, WebRequestURLValidator validator, SecretFieldValidator secretValidator) -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(ComponentContext context, RemoteConnectUser remoteUser, ErrorCollection errors) Validates the passed inComponentContext(theComponentConfigBeanto be specific).voidvalidate(List<String> projects, OutgoingWebhookActionConfig config, RemoteConnectUser remoteUser, ErrorCollection componentErrors) 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, validateForExecution
-
Constructor Details
-
OutgoingWebhookActionValidator
@Inject public OutgoingWebhookActionValidator(I18nFactory i18nFactory, IssueInputSubstitutionRenderer renderer, WebRequestURLValidator validator, SecretFieldValidator secretValidator)
-
-
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>'.
-
validate
public void validate(List<String> projects, OutgoingWebhookActionConfig config, RemoteConnectUser remoteUser, ErrorCollection componentErrors)
-