com.atlassian.bamboo.build
Class AbstractBuildAction
java.lang.Object
ActionSupport
com.atlassian.bamboo.ww2.BambooActionSupport
com.atlassian.bamboo.webwork.AbstractAction
com.atlassian.bamboo.build.AbstractBuildAction
- All Implemented Interfaces:
- ErrorCollection, BambooSessionAware, BuildAware, ReturnUrlAware
- Direct Known Subclasses:
- AbstractRestAction, BuildResultsAction, DeleteBuildResults, ExecuteBuild, RemoveBuildError, StopBuild, UpdateAndBuild, ViewBuildActivityLog, ViewBuildError, ViewBuildFiles, ViewCloverCoverageSummary, ViewTestsSummary
public abstract class AbstractBuildAction
- extends AbstractAction
- implements BuildAware
Provides common build action behaviour.
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 |
AbstractBuildAction
public AbstractBuildAction()
getBuild
public Build getBuild()
- Let the UI have the Build instance
- Specified by:
getBuild
in interface BuildAware
- Returns:
- The Build
getCurrentlyRunningBuild
public BuildResults getCurrentlyRunningBuild()
setBuild
public void setBuild(Build build)
- Specified by:
setBuild
in interface BuildAware
setBuildName
public void setBuildName(String buildName)
- Deprecated. Moving away from buildName to using buildKey
- Which build are we interested in?
- Parameters:
buildName
- The name of the build to display
setBuildKey
public void setBuildKey(String buildKey)
- Which build are we interested in?
- Parameters:
buildKey
- The name of the build to display
getBuildName
public String getBuildName()
- Deprecated.
getBuildKey
public String getBuildKey()
getPluginManager
public PluginManager getPluginManager()
setPluginManager
public void setPluginManager(PluginManager pluginManager)
getPluginMenuItems
public List getPluginMenuItems()
Copyright © 2006 Atlassian Software Systems. All Rights Reserved.