com.atlassian.confluence.util.message
Interface Message

All Known Implementing Classes:
DefaultMessage, WebSudoMessage

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

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

Returns:
message id

getText

String getText()
Get the text for this message

Returns:
message text

getCssClass

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

boolean isClosable()
Determines whether the message can be closed

Returns:
boolean

isVisible

boolean isVisible()
Determines whether the message should be shown

Returns:
boolean


Copyright © 2003-2011 Atlassian. All Rights Reserved.