com.atlassian.confluence.api.impl.model.messages
Class DefaultMessage
java.lang.Object
com.atlassian.confluence.api.impl.model.messages.DefaultMessage
- All Implemented Interfaces:
- Message
public class DefaultMessage
- extends java.lang.Object
- implements Message
Simple immutable Message
implementation.
Method Summary |
java.lang.Object[] |
getArgs()
|
java.lang.String |
getKey()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultMessage
public DefaultMessage(java.lang.String key)
DefaultMessage
public DefaultMessage(java.lang.String key,
java.lang.Object[] args)
getKey
public java.lang.String getKey()
- Specified by:
getKey
in interface Message
- Returns:
- the i18n key of this message
getArgs
public java.lang.Object[] getArgs()
- Specified by:
getArgs
in interface Message
- Returns:
- the arguments to this message. May be null or an empty array.
Copyright © 2003-2014 Atlassian. All Rights Reserved.