com.atlassian.bamboo.v2.build.agent.remote
Class RemoteErrorUpdateHandler

java.lang.Object
  extended by com.atlassian.bamboo.logger.AbstractErrorUpdateHandler
      extended by com.atlassian.bamboo.v2.build.agent.remote.RemoteErrorUpdateHandler
All Implemented Interfaces:
ErrorUpdateHandler

public class RemoteErrorUpdateHandler
extends AbstractErrorUpdateHandler
implements ErrorUpdateHandler


Constructor Summary
RemoteErrorUpdateHandler(BambooAgentMessageSender sender)
           
 
Method Summary
 void createElasticError(java.lang.String context, java.lang.Long agentId, ThrowableDetails throwableDetails, java.lang.String instanceId)
          Create an error regarding Elastic Bamboo.
 void createError(java.lang.String planKey, java.lang.Integer buildNumber, java.lang.Long agentId, java.lang.String context, ThrowableDetails throwableDetails)
           
 
Methods inherited from class com.atlassian.bamboo.logger.AbstractErrorUpdateHandler
addErrorCollection, getCurrentAgentId, recordElasticError, recordError, recordError, recordError, recordError, recordError, recordError, recordError, recordError, setAgentContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.logger.ErrorUpdateHandler
addErrorCollection, recordElasticError, recordError, recordError, recordError, recordError, recordError, recordError, recordError, recordError
 

Constructor Detail

RemoteErrorUpdateHandler

public RemoteErrorUpdateHandler(BambooAgentMessageSender sender)
Method Detail

createError

public void createError(java.lang.String planKey,
                        java.lang.Integer buildNumber,
                        java.lang.Long agentId,
                        java.lang.String context,
                        ThrowableDetails throwableDetails)
Specified by:
createError in interface ErrorUpdateHandler

createElasticError

public void createElasticError(java.lang.String context,
                               @Nullable
                               java.lang.Long agentId,
                               @Nullable
                               ThrowableDetails throwableDetails,
                               @Nullable
                               java.lang.String instanceId)
Description copied from interface: ErrorUpdateHandler
Create an error regarding Elastic Bamboo.

Specified by:
createElasticError in interface ErrorUpdateHandler


Copyright © 2010 Atlassian. All Rights Reserved.