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