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(PlanKey planKey)
          Obtain all the errors recorded against a specific plan
 java.util.Collection<ErrorDetails> getErrors(PlanResultKey planResultKey)
          Obtain all the errors recorded against a specific result
 

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
                                                     PlanResultKey planResultKey)
Obtain all the errors recorded against a specific result

Parameters:
planResultKey -
Returns:
The collection ErrorDetails

getErrors

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

Parameters:
planKey -
Returns:
The collection ErrorDetails


Copyright © 2010 Atlassian. All Rights Reserved.