Interface ErrorAccessor

All Known Subinterfaces:
ErrorHandler
All Known Implementing Classes:
AggregatedChainErrorAccessor, DecoratingErrorAccessorImpl, DefaultErrorHandler

public interface ErrorAccessor
Accessor for ErrorDetails
  • Method Details

    • 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