jetbrains.buildServer.serverSide
Interface MessageProcessor


public interface MessageProcessor

Processes build messages. For the new build new message processor is being created.

See Also:
MessageProcessorFactory

Method Summary
 java.lang.String getSourceId()
           
 void onShutdown()
          Called when build server is about to shutdown.
 boolean processMessage(BuildMessage1 message)
           
 

Method Detail

getSourceId

@NotNull
java.lang.String getSourceId()
Returns:
message source id to be processed by this instance of processor.

processMessage

boolean processMessage(@NotNull
                       BuildMessage1 message)
Parameters:
message - new message in the build.
Returns:
true if the message processed or false if processor was not able to process the message

onShutdown

void onShutdown()
Called when build server is about to shutdown. May be used to save current state of the MessageProcessor