com.atlassian.bamboo.plan
Class ResultsSummaryJsonDecorator

java.lang.Object
  extended by com.atlassian.bamboo.plan.ResultsSummaryJsonDecorator

public class ResultsSummaryJsonDecorator
extends java.lang.Object


Field Summary
protected  boolean active
           
protected  int buildNumber
           
protected  java.lang.String buildStatus
           
protected  java.lang.String buildStatusDescription
           
protected  int failedTestCaseCount
           
protected  java.lang.String planKey
           
protected  java.lang.String trigger
           
 
Constructor Summary
ResultsSummaryJsonDecorator(com.opensymphony.xwork.TextProvider textProvider, ResultsSummary resultsSummary, ImmutablePlan plan)
           
 
Method Summary
protected  com.opensymphony.webwork.dispatcher.json.JSONObject getJSON()
           
protected  java.lang.String getPlanStatusIcon(ResultsSummary resultsSummary)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

buildStatus

protected java.lang.String buildStatus

planKey

protected java.lang.String planKey

buildNumber

protected int buildNumber

buildStatusDescription

protected java.lang.String buildStatusDescription

trigger

protected java.lang.String trigger

failedTestCaseCount

protected int failedTestCaseCount

active

protected boolean active
Constructor Detail

ResultsSummaryJsonDecorator

public ResultsSummaryJsonDecorator(@NotNull
                                   com.opensymphony.xwork.TextProvider textProvider,
                                   ResultsSummary resultsSummary,
                                   ImmutablePlan plan)
Method Detail

getJSON

@NotNull
protected com.opensymphony.webwork.dispatcher.json.JSONObject getJSON()
                                                               throws com.opensymphony.webwork.dispatcher.json.JSONException
Throws:
com.opensymphony.webwork.dispatcher.json.JSONException

getPlanStatusIcon

protected java.lang.String getPlanStatusIcon(ResultsSummary resultsSummary)


Copyright © 2012 Atlassian. All Rights Reserved.