@Role
public interface WikiMacroInitializer
Modifier and Type | Method and Description |
---|---|
void |
installOrUpgradeWikiMacroClasses()
Installs or upgrades xwiki classes required for defining wiki macros.
|
void |
registerExistingWikiMacros()
Searches for all the wiki macro definitions on the system and registers them against the macro manager.
|
void |
registerExistingWikiMacros(String wiki)
Searches for all the wiki macro definitions in the specified wiki and registers them against the macro manager.
|
void installOrUpgradeWikiMacroClasses() throws Exception
Exception
- if an error occurs while installing / upgrading classes.void registerExistingWikiMacros() throws Exception
Exception
- if xwiki classes required for defining wiki macros are missing or if an error occurs while
searching for existing wiki macros.void registerExistingWikiMacros(String wiki) throws Exception
wiki
- the name of the wiki to register wiki macros forException
- if xwiki classes required for defining wiki macros are missing or if an error occurs while
searching for existing wiki macros.Copyright © 2004–2019 XWiki. All rights reserved.