|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.atlassian.bamboo.logger.AbstractErrorUpdateHandler
public abstract class AbstractErrorUpdateHandler
| Constructor Summary | |
|---|---|
AbstractErrorUpdateHandler()
|
|
| Method Summary | |
|---|---|
void |
addErrorCollection(java.lang.String buildKey,
ErrorCollection errors)
Adds all the error messages in the errorCollection to the build |
protected java.lang.Long |
getCurrentAgentId()
|
void |
recordElasticError(java.lang.String context,
java.lang.Long agentId,
java.lang.Throwable throwable,
java.lang.String instanceId)
Record an error resulting from Elastic Bamboo |
void |
recordError(BuildContext buildContext,
java.lang.String context,
java.lang.Throwable throwable)
|
void |
recordError(PlanKey planKey,
java.lang.String context)
|
void |
recordError(PlanKey planKey,
java.lang.String context,
java.lang.Throwable throwable)
|
void |
recordError(PlanResultKey planResultKey,
java.lang.String context,
java.lang.Throwable throwable)
Record a build error against a build result |
void |
recordError(java.lang.String errorMessage)
|
void |
recordError(java.lang.String buildKey,
int buildNumber,
java.lang.String context,
java.lang.Throwable throwable)
Record a build error against a build |
void |
recordError(java.lang.String buildKey,
java.lang.String context)
Record a build error against a build |
void |
recordError(java.lang.String buildKey,
java.lang.String context,
java.lang.Throwable throwable)
Record a build error against a build |
void |
setAgentContext(AgentContext agentContext)
|
| 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 |
|---|
createElasticError, createError |
| Constructor Detail |
|---|
public AbstractErrorUpdateHandler()
| Method Detail |
|---|
public void recordError(java.lang.String buildKey,
java.lang.String context)
ErrorUpdateHandler
recordError in interface ErrorUpdateHandler
public void recordError(@NotNull
PlanKey planKey,
@Nullable
java.lang.String context)
recordError in interface ErrorUpdateHandler
public void recordError(java.lang.String buildKey,
java.lang.String context,
java.lang.Throwable throwable)
ErrorUpdateHandler
recordError in interface ErrorUpdateHandler
public void recordError(@NotNull
PlanKey planKey,
@Nullable
java.lang.String context,
@NotNull
java.lang.Throwable throwable)
recordError in interface ErrorUpdateHandler
public void recordError(java.lang.String buildKey,
int buildNumber,
java.lang.String context,
java.lang.Throwable throwable)
ErrorUpdateHandler
recordError in interface ErrorUpdateHandlerbuildKey - key of the buildbuildNumber - number of the build - can be nullcontext - messagethrowable - error
public void recordError(@NotNull
PlanResultKey planResultKey,
java.lang.String context,
java.lang.Throwable throwable)
ErrorUpdateHandler
recordError in interface ErrorUpdateHandler
public void recordError(@Nullable
BuildContext buildContext,
@NotNull
java.lang.String context,
@Nullable
java.lang.Throwable throwable)
recordError in interface ErrorUpdateHandlerpublic void recordError(java.lang.String errorMessage)
recordError in interface ErrorUpdateHandler
public void recordElasticError(java.lang.String context,
@Nullable
java.lang.Long agentId,
@Nullable
java.lang.Throwable throwable,
@Nullable
java.lang.String instanceId)
ErrorUpdateHandler
recordElasticError in interface ErrorUpdateHandler
public void addErrorCollection(java.lang.String buildKey,
ErrorCollection errors)
ErrorUpdateHandler
addErrorCollection in interface ErrorUpdateHandler@Nullable protected java.lang.Long getCurrentAgentId()
public void setAgentContext(AgentContext agentContext)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||