@ExperimentalSpi
public interface PluggableValidator
A plugin can veto the import if configuration needs to be updated before an import of a project is valid and sensible.
The validator is called when the user selects a particular project in the UI to import. Errors and Warnings from the validation will be presented to the user and they can then modify the configuration of the target system to work around any problems reported.
A validator would typically check the state of the target system against the data gathered in the BackupProject
and
especially additional data from BackupProject.getAdditionalData(String)
that may have been captured by the
plugins's own implementation of PluggableOverviewAoEntityHandler
.
Modifier and Type | Method and Description |
---|---|
ValidationMessage |
validate(BackupProject backupProject,
I18nHelper i18n) |
ValidationMessage validate(BackupProject backupProject, I18nHelper i18n)
Copyright © 2002-2016 Atlassian. All Rights Reserved.