com.atlassian.bamboo.v2.build.agent.messages
Class BatchRemoteBambooMessage

java.lang.Object
  extended by com.atlassian.bamboo.v2.build.agent.messages.BatchRemoteBambooMessage
All Implemented Interfaces:
BambooAgentMessage, java.io.Serializable

public class BatchRemoteBambooMessage
extends java.lang.Object
implements BambooAgentMessage

A RemoteBambooMessage that contains a List of messages to be dlivered in one go

See Also:
Serialized Form

Constructor Summary
BatchRemoteBambooMessage(java.util.List<BambooAgentMessage> messages)
           
 
Method Summary
 java.lang.Object deliver()
          Delivers the message to the appropriate object in the local virtual machine.
 java.util.List<BambooAgentMessage> getMessages()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BatchRemoteBambooMessage

public BatchRemoteBambooMessage(@NotNull
                                java.util.List<BambooAgentMessage> messages)
Method Detail

deliver

public java.lang.Object deliver()
Description copied from interface: BambooAgentMessage
Delivers the message to the appropriate object in the local virtual machine.

Specified by:
deliver in interface BambooAgentMessage
Returns:
an optional reply to message (including error-reporting messages)

getMessages

public java.util.List<BambooAgentMessage> getMessages()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2011 Atlassian. All Rights Reserved.