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
-
Field Summary
Fields inherited from class com.atlassian.bamboo.logger.AbstractErrorUpdateHandler
agentContext -
Constructor Summary
ConstructorsConstructorDescriptionRemoteErrorUpdateHandler(AgentContext agentContext, BambooAgentMessageSender sender) -
Method Summary
Modifier and TypeMethodDescriptionvoidcreateElasticError(String context, @Nullable Long agentId, @Nullable ThrowableDetails throwableDetails, @Nullable String instanceId) Create an error regarding Elastic Bamboo.voidcreateError(@Nullable String entityKey, @Nullable Long resultNumber, Long agentId, String context, @Nullable ThrowableDetails throwableDetails) voidcreateError(String entityKey, Integer resultNumber, Long agentId, String context, ThrowableDetails throwableDetails) Methods inherited from class com.atlassian.bamboo.logger.AbstractErrorUpdateHandler
addErrorCollection, getCurrentAgentId, recordElasticError, recordError, recordError, recordError, recordError, recordError, recordError, recordErrorMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.logger.ErrorUpdateHandler
addErrorCollection, recordElasticError, recordError, recordError, recordError, recordError, recordError, recordError, recordError
-
Constructor Details
-
RemoteErrorUpdateHandler
-
-
Method Details
-
createError
public void createError(String entityKey, Integer resultNumber, Long agentId, String context, ThrowableDetails throwableDetails) - Specified by:
createErrorin interfaceErrorUpdateHandler
-
createError
public void createError(@Nullable @Nullable String entityKey, @Nullable @Nullable Long resultNumber, Long agentId, String context, @Nullable @Nullable ThrowableDetails throwableDetails) - Specified by:
createErrorin interfaceErrorUpdateHandler
-
createElasticError
public void createElasticError(String context, @Nullable @Nullable Long agentId, @Nullable @Nullable ThrowableDetails throwableDetails, @Nullable @Nullable String instanceId) Description copied from interface:ErrorUpdateHandlerCreate an error regarding Elastic Bamboo.- Specified by:
createElasticErrorin interfaceErrorUpdateHandler- Parameters:
context-agentId-throwableDetails-instanceId-
-