com.atlassian.bamboo.v2.build.agent.remote
Class RemoteErrorUpdateHandler
java.lang.Object
com.atlassian.bamboo.logger.AbstractErrorUpdateHandler
com.atlassian.bamboo.v2.build.agent.remote.RemoteErrorUpdateHandler
- All Implemented Interfaces:
- ErrorUpdateHandler
public class RemoteErrorUpdateHandler
- extends AbstractErrorUpdateHandler
- implements ErrorUpdateHandler
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 |
RemoteErrorUpdateHandler
public RemoteErrorUpdateHandler(BambooAgentMessageSender sender)
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 © 2011 Atlassian. All Rights Reserved.