Package com.atlassian.bamboo.logger
Class AggregatedChainErrorAccessor
- java.lang.Object
-
- com.atlassian.bamboo.logger.AggregatedChainErrorAccessor
-
- All Implemented Interfaces:
ErrorAccessor
public class AggregatedChainErrorAccessor extends Object implements ErrorAccessor
-
-
Constructor Summary
Constructors Constructor Description AggregatedChainErrorAccessor(CachedPlanManager cachedPlanManager, ErrorAccessor errorAccessor, ResultsSummaryManager resultsSummaryManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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
-
-
-
Constructor Detail
-
AggregatedChainErrorAccessor
public AggregatedChainErrorAccessor(CachedPlanManager cachedPlanManager, ErrorAccessor errorAccessor, ResultsSummaryManager resultsSummaryManager)
-
-
Method Detail
-
getAllErrors
@NotNull public @NotNull Collection<ErrorDetails> getAllErrors()
Description copied from interface:ErrorAccessor
Get all the errors recorded against all builds- Specified by:
getAllErrors
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
getElasticErrors
@NotNull public @NotNull Collection<ErrorDetails> getElasticErrors()
Description copied from interface:ErrorAccessor
Get all the errors recorded against elastic bamboo- Specified by:
getElasticErrors
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
getErrors
@NotNull public @NotNull Collection<ErrorDetails> getErrors(@NotNull @NotNull ResultKey resultKey)
Description copied from interface:ErrorAccessor
Obtain all the errors recorded against a specific result- Specified by:
getErrors
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
getErrors
@NotNull public @NotNull Collection<ErrorDetails> getErrors(@NotNull @NotNull Key key)
Description copied from interface:ErrorAccessor
Obtain all the errors recorded against a specific plan- Specified by:
getErrors
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
getErrorsByAgentId
@NotNull public @NotNull Collection<ErrorDetails> getErrorsByAgentId(Long agentId)
Description copied from interface:ErrorAccessor
Obtain all the errors recorded filtered by Agent Id- Specified by:
getErrorsByAgentId
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
-