public interface Message extends Localizable, Serializable
Modifier and Type | Method and Description |
---|---|
Message |
addArgument(Serializable... arguments) |
Message |
addPayload(Class key,
MessagePayload payload) |
Serializable[] |
getArguments() |
String |
getDescriptor() |
Map<Class,MessagePayload> |
getPayload() |
toString
String getDescriptor()
Serializable[] getArguments()
Message addArgument(Serializable... arguments)
arguments
- 1-n new arguments for the current messageMap<Class,MessagePayload> getPayload()
Message addPayload(Class key, MessagePayload payload)
key
- of the payloadpayload
- value of the payloadCopyright © 2010-2014 The Apache Software Foundation. All Rights Reserved.