Class CustomSmartValueValidator
java.lang.Object
com.codebarrel.automation.rulecomponent.jira.com.rproxy.goskope.common.customsmartvalue.CustomSmartValueValidator
- All Implemented Interfaces:
ComponentValidator
-
Constructor Summary
ConstructorsConstructorDescriptionCustomSmartValueValidator(I18nFactory i18nFactory, JqlQueryValidator jqlQueryValidator, IssueInputSubstitutionRenderer renderer, ClientFactory<JIRAClient> jiraClientFactory, FeatureManager featureManager) -
Method Summary
Modifier and TypeMethodDescriptionvoidvalidate(ComponentContext context, RemoteConnectUser remoteUser, ErrorCollection errors) Validates the passed inComponentContext(theComponentConfigBeanto be specific).voidvalidateCustomSmartValue(ComponentContext context, CustomSmartValueConfig customSmartValue, ErrorCollection errors, I18nResolver i18n) 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
-
CustomSmartValueValidator
@Inject public CustomSmartValueValidator(I18nFactory i18nFactory, JqlQueryValidator jqlQueryValidator, IssueInputSubstitutionRenderer renderer, ClientFactory<JIRAClient> jiraClientFactory, 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
-
validateCustomSmartValue
public void validateCustomSmartValue(ComponentContext context, CustomSmartValueConfig customSmartValue, ErrorCollection errors, I18nResolver i18n)
-