public interface BackupSupport
AbstractUpgradeTask
s which provide information
to the backup manager to manage backward and forward compatibility.
If you're unsure how to fill this information, please have a look at https://pug.jira.com/wiki/display/CONFDEV/How+to+add+to+or+change+the+Confluence+Database
Also, please list your upgrade task in https://pug.jira.com/wiki/display/CONFDEV/List+of+upgrade+tasks+in+Confluence
Modifier and Type | Method and Description |
---|---|
boolean |
breaksBackwardCompatibility()
Returns true if a new export can't be imported in an older instance.
|
boolean |
runOnSpaceImport()
Returns true if an older Space can't be imported in a new instance without running this task.
|
boolean runOnSpaceImport()
Note that tasks don't run on space import yet, so we just reject the import in this case.
boolean breaksBackwardCompatibility()
Breaking compatibility means a snapshot of the new version will not work at all with the previous version. For example:
Copyright © 2003–2016 Atlassian. All rights reserved.