com.atlassian.bamboo.build
Class GotoBuildResult

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.BuildResultsAction
                      extended by com.atlassian.bamboo.build.GotoBuildResult
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildAware, BuildResultsAware, ReturnUrlAware

public class GotoBuildResult
extends BuildResultsAction


Field Summary
 
Fields inherited from class com.atlassian.bamboo.build.BuildResultsAction
buildResults, buildResultsSummaryManager, decorator, extendedAuthorManager, testResultManager
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
GotoBuildResult()
           
 
Method Summary
 String doExecute()
          Places the current user on the page
 String getBuildNumber()
           
 String getReturnUrl()
           
 void setBuildNumber(String buildNumber)
          Which build results are we interested in?
 
Methods inherited from class com.atlassian.bamboo.build.BuildResultsAction
errorMessage, getBuildResults, getBuildResultsFromContainer, getExtendedAuthorManager, getFailingSinceForTest, getFailingSinceRelativeTime, getFailingSinceRelativeTime, getNeighbouringSummaries, getPluginManager, getPluginMenuItems, getResponsibleAuthorExistingFailures, getSuccessfulTests, getTestResultManager, isSortByDuration, setBuildResults, setBuildResultsSummaryManager, setExtendedAuthorManager, setPluginManager, setSortByDuration, setTestResultManager
 
Methods inherited from class com.atlassian.bamboo.build.AbstractBuildAction
getBuild, getBuildKey, getBuildName, getCurrentlyRunningBuild, setBuild, setBuildKey, setBuildName
 
Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
addFormErrors, doDefault, execute, 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, 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

GotoBuildResult

public GotoBuildResult()
Method Detail

doExecute

public String doExecute()
                 throws Exception
Description copied from class: AbstractAction
Places the current user on the page

Overrides:
doExecute in class BuildResultsAction
Returns:
webwork success status
Throws:
Exception - something nasty went wrong

getReturnUrl

public String getReturnUrl()
Specified by:
getReturnUrl in interface ReturnUrlAware
Overrides:
getReturnUrl in class BambooActionSupport

getBuildNumber

public String getBuildNumber()
Overrides:
getBuildNumber in class BuildResultsAction

setBuildNumber

public void setBuildNumber(String buildNumber)
Description copied from class: BuildResultsAction
Which build results are we interested in?

Overrides:
setBuildNumber in class BuildResultsAction
Parameters:
buildNumber - The number of the build we want to display


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.