Class MetadataForConfluenceMigrationScriptService
- java.lang.Object
-
- com.xwiki.confluencepro.metadatamigrator.script.MetadataForConfluenceMigrationScriptService
-
- All Implemented Interfaces:
org.xwiki.script.service.ScriptService
@Component @Singleton @Named("confluencepro.metadataforconfluencemigrator") public class MetadataForConfluenceMigrationScriptService extends Object implements org.xwiki.script.service.ScriptServiceMetadata for Confluence Migrator Script Service.- Version:
- $Id$ since 1.0.0
-
-
Constructor Summary
Constructors Constructor Description MetadataForConfluenceMigrationScriptService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidrun(com.xpn.xwiki.api.Document migrationDoc, String referenceTemplate, String titleTemplate)Migrate the provided json file.
-
-
-
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 documentreferenceTemplate- the template to follow for the reference of the documents where the metadata sets will be importedtitleTemplate- the template to follow for the title of documents where the metadata sets will be imported
-
-