com.atlassian.bamboo.build
Class DeleteBuildResults

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.DeleteBuildResults
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, BuildAware, ReturnUrlAware

public class DeleteBuildResults
extends AbstractBuildAction

This class deletes a specific build


Field Summary
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
buildManager, CONFIRM, cookieCutter
 
Constructor Summary
DeleteBuildResults()
           
 
Method Summary
 String doExecute()
          Delete the specified build from the specified build
 String getBuildNumber()
           
 void setBuildNumber(String buildNumber)
          Which build results are we interested in?
 void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)
           
 void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)
           
 
Methods inherited from class com.atlassian.bamboo.build.AbstractBuildAction
getBuild, getBuildKey, getBuildName, getCurrentlyRunningBuild, getPluginManager, getPluginMenuItems, setBuild, setBuildKey, setBuildName, setPluginManager
 
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, 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

DeleteBuildResults

public DeleteBuildResults()
Method Detail

setBuildNumber

public void setBuildNumber(String buildNumber)
Which build results are we interested in?

Parameters:
buildNumber - The number of the build we want to display

doExecute

public String doExecute()
                 throws Exception
Delete the specified build from the specified build

Overrides:
doExecute in class AbstractAction
Returns:
The webwork success status
Throws:
Exception - A generic failure

getBuildNumber

public String getBuildNumber()

setBuildResultsIndexer

public void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)

setBuildResultsSummaryManager

public void setBuildResultsSummaryManager(BuildResultsSummaryManager buildResultsSummaryManager)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.