Class MetadataForConfluenceMigrationScriptService

  • All Implemented Interfaces:
    org.xwiki.script.service.ScriptService

    @Component
    @Singleton
    @Named("confluencepro.metadataforconfluencemigrator")
    public class MetadataForConfluenceMigrationScriptService
    extends Object
    implements org.xwiki.script.service.ScriptService
    Metadata for Confluence Migrator Script Service.
    Version:
    $Id$ since 1.0.0
    • Constructor Detail

      • MetadataForConfluenceMigrationScriptService

        public MetadataForConfluenceMigrationScriptService()
    • Method Detail

      • run

        public void run​(com.xpn.xwiki.api.Document migrationDoc,
                        String referenceTemplate,
                        String titleTemplate)
        Migrate the provided json file.
        Parameters:
        migrationDoc - the migration document
        referenceTemplate - the template to follow for the reference of the documents where the metadata sets will be imported
        titleTemplate - the template to follow for the title of documents where the metadata sets will be imported