Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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.

Field Summary

Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
`buildManager, CONFIRM, cookieCutter`

Constructor Summary
`AbstractBuildAction()`

Method Summary
`Build` | `getBuild()` Let the UI have the Build instance
`String` | `getBuildKey()`
`String` | `getBuildName()` Deprecated.
`BuildResults` | `getCurrentlyRunningBuild()`
`PluginManager` | `getPluginManager()`
`List` | `getPluginMenuItems()`
`void` | `setBuild(Build build)`
`void` | `setBuildKey(String buildKey)` Which build are we interested in?
`void` | `setBuildName(String buildName)` Deprecated. Moving away from buildName to using buildKey
`void` | `setPluginManager(PluginManager pluginManager)`

Methods inherited from class com.atlassian.bamboo.webwork.AbstractAction
`addFormErrors, doDefault, doExecute, 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, 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

### AbstractBuildAction

    public AbstractBuildAction()

Method Detail

### 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()

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006 Atlassian Software Systems. All Rights Reserved.