public interface MacroSchemaMigrator
A macro schema is defined as the definition of all the params and body type for a macro. If a macro's schema changes in an incompatible way, they should register a macro-schema-migrator to migrate from the given version in the macro-schema-migrator. Migrations will be performed in order as necessary.
MacroDefinition migrateSchemaIfNecessary(MacroDefinition macroDefinition, ConversionContext context) throws XhtmlException
macroDefinition- the macro definition to migrate
context- the context used to perform the migration
XhtmlException- if any migrations fail
Copyright © 2003–2016 Atlassian. All rights reserved.