Package com.atlassian.bamboo.logger
Class DecoratingErrorAccessorImpl
java.lang.Object
com.atlassian.bamboo.logger.DecoratingErrorAccessorImpl
- All Implemented Interfaces:
ErrorAccessor
-
Constructor Summary
ConstructorDescriptionDecoratingErrorAccessorImpl
(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory, ErrorAccessor errorAccessor) -
Method Summary
Modifier and TypeMethodDescription@NotNull Collection<ErrorDetails>
Get all the errors recorded against all builds@NotNull Collection<ErrorDetails>
Get all the errors recorded against elastic bamboo@NotNull Collection<ErrorDetails>
Obtain all the errors recorded against a specific plan@NotNull Collection<ErrorDetails>
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 Details
-
DecoratingErrorAccessorImpl
public DecoratingErrorAccessorImpl(DecoratedErrorDetailsFactory decoratedErrorDetailsFactory, ErrorAccessor errorAccessor)
-
-
Method Details
-
getAllErrors
Description copied from interface:ErrorAccessor
Get all the errors recorded against all builds- Specified by:
getAllErrors
in interfaceErrorAccessor
- Returns:
- The 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
Description copied from interface:ErrorAccessor
Obtain all the errors recorded against a specific result- Specified by:
getErrors
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
getErrors
Description copied from interface:ErrorAccessor
Obtain all the errors recorded against a specific plan- Specified by:
getErrors
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-
getErrorsByAgentId
Description copied from interface:ErrorAccessor
Obtain all the errors recorded filtered by Agent Id- Specified by:
getErrorsByAgentId
in interfaceErrorAccessor
- Returns:
- The collection
ErrorDetails
-