com.atlassian.confluence.util.message
Interface Message

All Known Implementing Classes:
DefaultMessage

public interface Message

A message to display on a page


Method Summary
 String getCssClass()
          Gets the name of the CSS class associated with this message.
 String getId()
          Get the unique ID for this message.
 String getText()
          Get the text for this message
 boolean isClosable()
          Determines whether the message can be closed
 boolean isVisible()
          Determines whether the message should be shown
 

Method Detail

getId

public String getId()
Get the unique ID for this message.

Returns:
message id

getText

public String getText()
Get the text for this message

Returns:
message text

getCssClass

public String getCssClass()
Gets the name of the CSS class associated with this message. The class name can be used to style the message

Returns:
String name of the css class

isClosable

public boolean isClosable()
Determines whether the message can be closed

Returns:
boolean

isVisible

public boolean isVisible()
Determines whether the message should be shown

Returns:
boolean


Confluence is developed by Atlassian.