com.atlassian.bamboo.build.tests
Class ViewTestCaseAction

java.lang.Object
  extended by ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.ww2.actions.BuildActionSupport
              extended by com.atlassian.bamboo.build.tests.ViewTestCaseAction
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildAware, ReturnUrlAware, TestCaseAware

public class ViewTestCaseAction
extends BuildActionSupport
implements TestCaseAware


Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Fields inherited from interface com.atlassian.bamboo.ww2.aware.TestCaseAware
BUILD_SELECTED_DATE_FILTER
 
Constructor Summary
ViewTestCaseAction()
           
 
Method Summary
 String doDefault()
           
 String execute()
           
 String getAutoPeriod()
           
 int getCountFailingSince()
           
 int getCountSucceedingSince()
           
 BuildResultsSummary getFailingSinceBuild()
           
 FilterController getFilterController()
           
 String getGroupSuccessFailureChartBy()
           
 TestCaseResult getLastTestCaseResult()
           
 BuildResultsSummary getSucceedingSinceBuild()
           
 Map getSuccessfailureStackedChartParams()
           
 TestCase getTestCase()
           
 Map getTestCaseDurationChartParams()
           
 String getTestCaseKey()
           
 void setFilterController(FilterController filterController)
           
 void setGroupSuccessFailureChartBy(String groupSuccessFailureChartBy)
           
 void setSuccessfailureStackedChartParams(Map successfailureStackedChartParams)
           
 void setTestCase(TestCase testCase)
           
 void setTestCaseDurationChartParams(Map testCaseDurationChartParams)
           
 void setTestCaseKey(String testCaseKey)
           
 void setTestResultManager(TestResultManager testResultManager)
           
 
Methods inherited from class com.atlassian.bamboo.ww2.actions.BuildActionSupport
getBuild, getBuildKey, getCurrentlyRunningBuild, getPluginManager, getPluginMenuItems, setBuild, setBuildKey, setPluginManager
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, doesLabelKeyHaveMatchingDescription, getAsPreformattedText, getBamboo, 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.ww2.aware.BuildAware
getBuild, setBuild
 
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection
getErrorMessages, getErrors, getFieldErrors
 

Constructor Detail

ViewTestCaseAction

public ViewTestCaseAction()
Method Detail

execute

public String execute()
               throws Exception
Throws:
Exception

doDefault

public String doDefault()
                 throws Exception
Overrides:
doDefault in class BambooActionSupport
Throws:
Exception

getLastTestCaseResult

public TestCaseResult getLastTestCaseResult()

getFailingSinceBuild

public BuildResultsSummary getFailingSinceBuild()

getCountFailingSince

public int getCountFailingSince()

getSucceedingSinceBuild

public BuildResultsSummary getSucceedingSinceBuild()

getCountSucceedingSince

public int getCountSucceedingSince()

getGroupSuccessFailureChartBy

public String getGroupSuccessFailureChartBy()

setGroupSuccessFailureChartBy

public void setGroupSuccessFailureChartBy(String groupSuccessFailureChartBy)

setFilterController

public void setFilterController(FilterController filterController)

getFilterController

public FilterController getFilterController()

getAutoPeriod

public String getAutoPeriod()

getTestCaseKey

public String getTestCaseKey()

setTestCaseKey

public void setTestCaseKey(String testCaseKey)

getTestCase

public TestCase getTestCase()
Specified by:
getTestCase in interface TestCaseAware

setTestCase

public void setTestCase(TestCase testCase)
Specified by:
setTestCase in interface TestCaseAware

getSuccessfailureStackedChartParams

public Map getSuccessfailureStackedChartParams()

setSuccessfailureStackedChartParams

public void setSuccessfailureStackedChartParams(Map successfailureStackedChartParams)

getTestCaseDurationChartParams

public Map getTestCaseDurationChartParams()

setTestCaseDurationChartParams

public void setTestCaseDurationChartParams(Map testCaseDurationChartParams)

setTestResultManager

public void setTestResultManager(TestResultManager testResultManager)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.