@PublicApi
public interface ErrorUpdateHandler
| Modifier and Type | Method and Description |
|---|---|
void |
addErrorCollection(ResultKey buildKey,
ErrorCollection errors)
Adds all the error messages in the errorCollection to the build
|
void |
createElasticError(String context,
Long agentId,
ThrowableDetails throwableDetails,
String instanceId)
Create an error regarding Elastic Bamboo.
|
void |
createError(String planKey,
Integer buildNumber,
Long agentId,
String context,
ThrowableDetails throwableDetails) |
void |
recordElasticError(String context,
Long agentId,
Throwable throwable,
String instanceId)
Record an error resulting from Elastic Bamboo
|
void |
recordError(Key entityKey,
String context)
Record a build error against a plan/deployment
|
void |
recordError(Key entityKey,
String context,
Throwable throwable)
Record a build error against a plan/deployment
|
void |
recordError(ResultKey resultKey,
String context,
Throwable throwable)
Record an error against a result
|
void |
recordError(String context)
Record general error
|
void |
recordError(String context,
Throwable throwable)
Record general error
|
void recordError(String context)
context - void recordError(String context, @Nullable Throwable throwable)
context - throwable - void recordError(@NotNull
Key entityKey,
@Nullable
String context)
entityKey - context - void recordError(@NotNull
Key entityKey,
@Nullable
String context,
@NotNull
Throwable throwable)
entityKey - context - throwable - void recordError(@NotNull
ResultKey resultKey,
@Nullable
String context,
@Nullable
Throwable throwable)
resultKey - of the resultcontext - messagethrowable - errorvoid addErrorCollection(ResultKey buildKey, ErrorCollection errors)
buildKey - errors - void createError(@Nullable
String planKey,
@Nullable
Integer buildNumber,
Long agentId,
String context,
@Nullable
ThrowableDetails throwableDetails)
void recordElasticError(String context, @Nullable Long agentId, @Nullable Throwable throwable, @Nullable String instanceId)
context - agentId - throwable - instanceId - void createElasticError(String context, @Nullable Long agentId, @Nullable ThrowableDetails throwableDetails, @Nullable String instanceId)
context - agentId - throwableDetails - instanceId - Copyright © 2016 Atlassian Software Systems Pty Ltd. All rights reserved.