public class DecoratingErrorAccessorImpl extends Object implements ErrorAccessor
Constructor and Description |
---|
DecoratingErrorAccessorImpl(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory,
ErrorAccessor errorAccessor) |
Modifier and Type | Method and Description |
---|---|
Collection<ErrorDetails> |
getAllErrors()
Get all the errors recorded against all builds
|
Collection<ErrorDetails> |
getElasticErrors()
Get all the errors recorded against elastic bamboo
|
Collection<ErrorDetails> |
getErrors(Key entityKey)
Obtain all the errors recorded against a specific plan
|
Collection<ErrorDetails> |
getErrors(ResultKey resultKey)
Obtain all the errors recorded against a specific result
|
Collection<ErrorDetails> |
getErrorsByAgentId(Long agentId)
Obtain all the errors recorded filtered by Agent Id
|
public DecoratingErrorAccessorImpl(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory, ErrorAccessor errorAccessor)
@NotNull public Collection<ErrorDetails> getAllErrors()
ErrorAccessor
getAllErrors
in interface ErrorAccessor
ErrorDetails
@NotNull public Collection<ErrorDetails> getElasticErrors()
ErrorAccessor
getElasticErrors
in interface ErrorAccessor
ErrorDetails
@NotNull public Collection<ErrorDetails> getErrors(@NotNull ResultKey resultKey)
ErrorAccessor
getErrors
in interface ErrorAccessor
ErrorDetails
@NotNull public Collection<ErrorDetails> getErrors(@NotNull Key entityKey)
ErrorAccessor
getErrors
in interface ErrorAccessor
ErrorDetails
@NotNull public Collection<ErrorDetails> getErrorsByAgentId(Long agentId)
ErrorAccessor
getErrorsByAgentId
in interface ErrorAccessor
ErrorDetails
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.