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
Constructors Constructor Description RemoteErrorUpdateHandler(AgentContext agentContext, BambooAgentMessageSender sender)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createElasticError(String context, @Nullable Long agentId, @Nullable ThrowableDetails throwableDetails, @Nullable String instanceId)
Create an error regarding Elastic Bamboo.void
createError(@Nullable String entityKey, @Nullable Long resultNumber, Long agentId, String context, @Nullable ThrowableDetails throwableDetails)
void
createError(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, recordError
-
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
-
-
-
-
Constructor Detail
-
RemoteErrorUpdateHandler
public RemoteErrorUpdateHandler(AgentContext agentContext, BambooAgentMessageSender sender)
-
-
Method Detail
-
createError
public void createError(String entityKey, Integer resultNumber, Long agentId, String context, ThrowableDetails throwableDetails)
- Specified by:
createError
in interfaceErrorUpdateHandler
-
createError
public void createError(@Nullable @Nullable String entityKey, @Nullable @Nullable Long resultNumber, Long agentId, String context, @Nullable @Nullable ThrowableDetails throwableDetails)
- Specified by:
createError
in interfaceErrorUpdateHandler
-
createElasticError
public void createElasticError(String context, @Nullable @Nullable Long agentId, @Nullable @Nullable ThrowableDetails throwableDetails, @Nullable @Nullable String instanceId)
Description copied from interface:ErrorUpdateHandler
Create an error regarding Elastic Bamboo.- Specified by:
createElasticError
in interfaceErrorUpdateHandler
-
-