com.atlassian.bamboo.build.tests
Class ViewTestsSummary

java.lang.Object
  extended by ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.webwork.AbstractAction
              extended by com.atlassian.bamboo.build.AbstractBuildAction
                  extended by com.atlassian.bamboo.build.tests.ViewTestsSummary
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildAware, ReturnUrlAware

public class ViewTestsSummary
extends AbstractBuildAction


Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
ViewTestsSummary()
           
 
Method Summary
 String execute()
           
 XYDataset getDataset()
           
 int getFailureBarWidth(int numberOfFailures)
           
 FilterController getFilterController()
           
 List getLongestRunningTests()
           
 List getLongestTimeToFixTests()
           
 int getMaxFailures()
           
 List getMostFailingTests()
           
 PluginManager getPluginManager()
           
 List getRecentFailures(TestCase testCase, int number)
           
 String getReportKey()
           
 List getResultsList()
           
 TestManager getTestManager()
           
 void setDataset(XYDataset dataset)
           
 void setFilterController(FilterController filterController)
           
 void setPluginManager(PluginManager pluginManager)
           
 void setReportKey(String reportKey)
           
 void setResultsList(List resultsList)
           
 void setTestManager(TestManager testManager)
           
 
Methods inherited from class com.atlassian.bamboo.build.AbstractBuildAction
getBuild, getBuildKey, getBuildName, getCurrentlyRunningBuild, getPluginMenuItems, setBuild, setBuildKey, setBuildName
 
Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
addFormErrors, doDefault, doExecute, getAction, getAdministrationConfiguration, getBamboo, getBaseUrl, setAdministrationConfiguration, validate
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBambooSession, getBreadCrumbs, getBuildManager, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentUrl, getDescriptionFromLabelKey, getFlushedErrorMessages, getReturnUrl, getUser, getWebItemsForSection, getWebResourceManager, getWebSectionsForLocation, hasAnyErrors, hasBuilds, hasPerm, isEnableSignup, isSelectFieldAndNull, setAuthenticationContext, setBambooPermissionManager, setBuildManager, setCookieCutter, setErrorMessages, setHtmlUtils, setReturnUrl, setWebInterfaceManager, setWebResourceManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

ViewTestsSummary

public ViewTestsSummary()
Method Detail

execute

public String execute()
               throws Exception
Overrides:
execute in class AbstractAction
Throws:
Exception

getRecentFailures

public List getRecentFailures(TestCase testCase,
                              int number)

getFailureBarWidth

public int getFailureBarWidth(int numberOfFailures)

getMaxFailures

public int getMaxFailures()

getLongestRunningTests

public List getLongestRunningTests()

getMostFailingTests

public List getMostFailingTests()

getLongestTimeToFixTests

public List getLongestTimeToFixTests()

getTestManager

public TestManager getTestManager()

setTestManager

public void setTestManager(TestManager testManager)

getFilterController

public FilterController getFilterController()

setFilterController

public void setFilterController(FilterController filterController)

getResultsList

public List getResultsList()

setResultsList

public void setResultsList(List resultsList)

getDataset

public XYDataset getDataset()

setDataset

public void setDataset(XYDataset dataset)

getPluginManager

public PluginManager getPluginManager()
Overrides:
getPluginManager in class AbstractBuildAction

setPluginManager

public void setPluginManager(PluginManager pluginManager)
Overrides:
setPluginManager in class AbstractBuildAction

getReportKey

public String getReportKey()

setReportKey

public void setReportKey(String reportKey)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.