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(CachedPlanManager cachedPlanManager, ErrorAccessor errorAccessor, 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(Key key)
          Obtain all the errors recorded against a specific plan
 java.util.Collection<ErrorDetails> getErrors(ResultKey resultKey)
          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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AggregatedChainErrorAccessor

public AggregatedChainErrorAccessor(CachedPlanManager cachedPlanManager,
                                    ErrorAccessor errorAccessor,
                                    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
                                                            ResultKey resultKey)
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
                                                            Key key)
Description copied from interface: ErrorAccessor
Obtain all the errors recorded against a specific plan

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

getErrorsByAgentId

@NotNull
public java.util.Collection<ErrorDetails> getErrorsByAgentId(java.lang.Long agentId)
Description copied from interface: ErrorAccessor
Obtain all the errors recorded filtered by Agent Id

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


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