|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MacroManager
Retrieval, registration and unregistration of macros.
Method Summary | |
---|---|
java.util.Map<java.lang.String,com.atlassian.renderer.v2.macro.Macro> |
getMacros()
Returns the currently enabled macros, excluding user macros. |
void |
registerMacro(java.lang.String name,
com.atlassian.renderer.v2.macro.Macro macro)
Registers a new macro with the given name. |
void |
unregisterMacro(java.lang.String name)
Unregisters the macro with the given name. |
Methods inherited from interface com.atlassian.renderer.v2.macro.MacroManager |
---|
getEnabledMacro |
Method Detail |
---|
java.util.Map<java.lang.String,com.atlassian.renderer.v2.macro.Macro> getMacros()
UserMacroLibrary
.
void registerMacro(java.lang.String name, com.atlassian.renderer.v2.macro.Macro macro)
name
- the name to register the macro under. For example, 'code'.macro
- the macro to registervoid unregisterMacro(java.lang.String name)
name
- the name of the macro to unregister. For example, 'code'.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |