public abstract class AbstractSimpleMapperValidator extends Object implements MapperValidator
| Constructor and Description |
|---|
AbstractSimpleMapperValidator() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract String |
getEntityDoesNotExistKey() |
protected abstract String |
getEntityName()
Returns the name of the entity that this validator is for.
|
MessageSet |
validateMappings(I18nHelper i18nHelper,
SimpleProjectImportIdMapper simpleProjectImportIdMapper)
This is a simple validation method that will only check to see that all the required values of the
provided mapper have been mapped to the current instance of JIRA.
|
public MessageSet validateMappings(I18nHelper i18nHelper, SimpleProjectImportIdMapper simpleProjectImportIdMapper)
MapperValidatorIf there is a required value that is missing the message collection will contain an error.
validateMappings in interface MapperValidatori18nHelper - used to resolve i18n messagessimpleProjectImportIdMapper - the mapper that will be inspected to make sure that all its required values
are mapped.protected abstract String getEntityDoesNotExistKey()
protected abstract String getEntityName()
Copyright © 2002-2021 Atlassian. All Rights Reserved.