Package com.atlassian.bamboo.logger
Class DecoratingErrorAccessorImpl
- java.lang.Object
-
- com.atlassian.bamboo.logger.DecoratingErrorAccessorImpl
-
- All Implemented Interfaces:
ErrorAccessor
public class DecoratingErrorAccessorImpl extends Object implements ErrorAccessor
-
-
Constructor Summary
Constructors Constructor Description DecoratingErrorAccessorImpl(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory, ErrorAccessor errorAccessor)
-
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 entityKey)
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
-
DecoratingErrorAccessorImpl
public DecoratingErrorAccessorImpl(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory, ErrorAccessor errorAccessor)
-
-
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 entityKey)
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
-
-