Package com.atlassian.bamboo.logger
Interface ErrorAccessor
-
- All Known Subinterfaces:
ErrorHandler
- All Known Implementing Classes:
AggregatedChainErrorAccessor,DecoratingErrorAccessorImpl,DefaultErrorHandler
public interface ErrorAccessorAccessor forErrorDetails
-
-
Method Summary
All Methods Instance Methods Abstract 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
-
-
-
Method Detail
-
getAllErrors
@NotNull @NotNull Collection<ErrorDetails> getAllErrors()
Get all the errors recorded against all builds- Returns:
- The collection
ErrorDetails
-
getElasticErrors
@NotNull @NotNull Collection<ErrorDetails> getElasticErrors()
Get all the errors recorded against elastic bamboo- Returns:
- The collection
ErrorDetails
-
getErrors
@NotNull @NotNull Collection<ErrorDetails> getErrors(@NotNull @NotNull ResultKey resultKey)
Obtain all the errors recorded against a specific result- Parameters:
resultKey-- Returns:
- The collection
ErrorDetails
-
getErrors
@NotNull @NotNull Collection<ErrorDetails> getErrors(@NotNull @NotNull Key entityKey)
Obtain all the errors recorded against a specific plan- Parameters:
entityKey-- Returns:
- The collection
ErrorDetails
-
getErrorsByAgentId
@NotNull @NotNull Collection<ErrorDetails> getErrorsByAgentId(Long agentId)
Obtain all the errors recorded filtered by Agent Id- Parameters:
agentId-- Returns:
- The collection
ErrorDetails
-
-