com.atlassian.confluence.macro.browser.beans
Class MacroBody

java.lang.Object
  extended by com.atlassian.confluence.macro.browser.beans.MacroBody

public class MacroBody
extends java.lang.Object

Represents body metadata for a macro. If the i18n properties file has values for Label and Description these will appear in the Macro Browser (for example) instead of the default text.


Constructor Summary
MacroBody(java.lang.String pluginKey, java.lang.String macroName)
           
MacroBody(java.lang.String pluginKey, java.lang.String macroName, boolean hidden)
           
 
Method Summary
 java.lang.String getBodyType()
           
 Message getDescription()
           
 Message getLabel()
           
 boolean isHidden()
          Whether or not to display the macro body in the macro browser.
 void setBodyType(java.lang.String bodyType)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroBody

public MacroBody(java.lang.String pluginKey,
                 java.lang.String macroName)

MacroBody

public MacroBody(java.lang.String pluginKey,
                 java.lang.String macroName,
                 boolean hidden)
Method Detail

getLabel

public Message getLabel()

getDescription

public Message getDescription()

isHidden

public boolean isHidden()
Whether or not to display the macro body in the macro browser.


getBodyType

public java.lang.String getBodyType()

setBodyType

public void setBodyType(java.lang.String bodyType)


Copyright © 2003-2014 Atlassian. All Rights Reserved.