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
 java.lang.String getCssClass()
          Gets the name of the CSS class associated with this message.
 java.lang.String getId()
          Get the unique ID for this message.
 java.lang.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

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

Returns:
message id

getText

java.lang.String getText()
Get the text for this message

Returns:
message text

getCssClass

java.lang.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-2014 Atlassian. All Rights Reserved.