com.atlassian.renderer.v2.macro
Interface MacroManager

All Known Implementing Classes:
DefaultMacroManager

public interface MacroManager


Method Summary
 Macro getEnabledMacro(String name)
          Get the first enabled macro we can find with the given name from all our enabled libraries.
 

Method Detail

getEnabledMacro

Macro getEnabledMacro(String name)
Get the first enabled macro we can find with the given name from all our enabled libraries. Returns null either if no macro exists with that name, or if all macros with that name are disabled.

If two macros have the same name in different packages, you'll probably get a random macro back.

Parameters:
name - the name of the macro to retrieve
Returns:
the appropriate macro, or null of the macro is either non-existent or disabled.


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.