com.atlassian.bamboo.logger
Interface ErrorAccessor

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

public interface ErrorAccessor

Accessor for ErrorDetails


Method Summary
 java.util.Collection<ErrorDetails> getAllErrors()
          Get all the errors recorded against all builds
 java.util.Collection<ErrorDetails> getElasticErrors()
          Get all the errors recorded against elastic bamboo
 java.util.Collection<ErrorDetails> getErrors(Key planKey)
          Obtain all the errors recorded against a specific plan
 java.util.Collection<ErrorDetails> getErrors(ResultKey planResultKey)
          Obtain all the errors recorded against a specific result
 java.util.Collection<ErrorDetails> getErrorsByAgentId(java.lang.Long agentId)
          Obtain all the errors recorded filtered by Agent Id
 

Method Detail

getAllErrors

@NotNull
java.util.Collection<ErrorDetails> getAllErrors()
Get all the errors recorded against all builds

Returns:
The collection ErrorDetails

getElasticErrors

@NotNull
java.util.Collection<ErrorDetails> getElasticErrors()
Get all the errors recorded against elastic bamboo

Returns:
The collection ErrorDetails

getErrors

@NotNull
java.util.Collection<ErrorDetails> getErrors(@NotNull
                                                     ResultKey planResultKey)
Obtain all the errors recorded against a specific result

Parameters:
planResultKey -
Returns:
The collection ErrorDetails

getErrors

@NotNull
java.util.Collection<ErrorDetails> getErrors(@NotNull
                                                     Key planKey)
Obtain all the errors recorded against a specific plan

Parameters:
planKey -
Returns:
The collection ErrorDetails

getErrorsByAgentId

@NotNull
java.util.Collection<ErrorDetails> getErrorsByAgentId(java.lang.Long agentId)
Obtain all the errors recorded filtered by Agent Id

Parameters:
agentId -
Returns:
The collection ErrorDetails


Copyright © 2013 Atlassian Software Systems Pty Ltd. All Rights Reserved.