com.atlassian.bamboo.logger
Class AggregatedChainErrorAccessor

java.lang.Object
  extended by com.atlassian.bamboo.logger.AggregatedChainErrorAccessor
All Implemented Interfaces:
ErrorAccessor

public class AggregatedChainErrorAccessor
extends java.lang.Object
implements ErrorAccessor

Aggregates the error accessing for the Chain and its Jobs


Constructor Summary
AggregatedChainErrorAccessor(ErrorHandler errorHandler, PlanManager planManager, ResultsSummaryManager resultsSummaryManager)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedChainErrorAccessor

public AggregatedChainErrorAccessor(ErrorHandler errorHandler,
                                    PlanManager planManager,
                                    ResultsSummaryManager resultsSummaryManager)
Method Detail

getAllErrors

@NotNull
public java.util.Collection<ErrorDetails> getAllErrors()
Description copied from interface: ErrorAccessor
Get all the errors recorded against all builds

Specified by:
getAllErrors in interface ErrorAccessor
Returns:
The collection ErrorDetails

getElasticErrors

@NotNull
public java.util.Collection<ErrorDetails> getElasticErrors()
Description copied from interface: ErrorAccessor
Get all the errors recorded against elastic bamboo

Specified by:
getElasticErrors in interface ErrorAccessor
Returns:
The collection ErrorDetails

getErrors

@NotNull
public java.util.Collection<ErrorDetails> getErrors(@NotNull
                                                            PlanResultKey planResultKey)
Description copied from interface: ErrorAccessor
Obtain all the errors recorded against a specific result

Specified by:
getErrors in interface ErrorAccessor
Returns:
The collection ErrorDetails

getErrors

@NotNull
public java.util.Collection<ErrorDetails> getErrors(@NotNull
                                                            PlanKey planKey)
Description copied from interface: ErrorAccessor
Obtain all the errors recorded against a specific plan

Specified by:
getErrors in interface ErrorAccessor
Returns:
The collection ErrorDetails


Copyright © 2011 Atlassian. All Rights Reserved.