|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.opensymphony.xwork.ActionSupport com.atlassian.bamboo.ww2.BambooActionSupport com.atlassian.bamboo.build.DeleteBuilds
public class DeleteBuilds
This class provides a UI action to remove one or more build.
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, buildManager, CONFIRM, cookieCutter, dashboardCachingManager |
Fields inherited from class com.opensymphony.xwork.ActionSupport |
---|
LOG |
Fields inherited from interface com.opensymphony.xwork.Action |
---|
ERROR, INPUT, LOGIN, NONE, SUCCESS |
Constructor Summary | |
---|---|
DeleteBuilds()
|
Method Summary | |
---|---|
java.lang.String |
doConfirm()
|
java.lang.String |
doExecute()
Remove the selected builds |
java.util.List |
getBuildsToConfirm()
|
java.util.Collection |
getProjects()
|
java.util.List |
getProjectsToConfirm()
|
java.lang.Object |
getSecuredDomainObject()
|
java.lang.String[] |
getSelectedBuilds()
|
java.lang.String[] |
getSelectedProjects()
|
void |
setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
|
void |
setBuildQueueManager(BuildQueueManager buildQueueManager)
|
void |
setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)
|
void |
setSelectedBuilds(java.lang.String[] selectedBuilds)
The checkboxes all have the same name, but with different value. |
void |
setSelectedProjects(java.lang.String[] selectedProjects)
|
void |
setStopBuildManager(StopBuildManager stopBuildManager)
|
void |
validate()
|
Methods inherited from class com.opensymphony.xwork.ActionSupport |
---|
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, hasKey, pause, setActionErrors, setActionMessages, setFieldErrors |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.atlassian.bamboo.utils.error.ErrorCollection |
---|
getErrorMessages, getErrors, getFieldErrors |
Methods inherited from interface com.atlassian.core.i18n.I18nTextProvider |
---|
getText |
Constructor Detail |
---|
public DeleteBuilds()
Method Detail |
---|
public void setSelectedBuilds(java.lang.String[] selectedBuilds)
selectedBuilds
- The key of the builds that have been seleted for deletion.public java.lang.String[] getSelectedBuilds()
public java.lang.String[] getSelectedProjects()
public void setSelectedProjects(java.lang.String[] selectedProjects)
public void validate()
validate
in interface com.opensymphony.xwork.Validateable
validate
in class com.opensymphony.xwork.ActionSupport
public java.lang.String doExecute() throws java.lang.Exception
doExecute
in class BambooActionSupport
java.lang.Exception
- A generic failurepublic java.lang.String doConfirm() throws java.lang.Exception
java.lang.Exception
public java.util.Collection getProjects()
public java.util.List getBuildsToConfirm()
public java.util.List getProjectsToConfirm()
public void setBuildExecutionManager(BuildExecutionManager buildExecutionManager)
public void setBuildQueueManager(BuildQueueManager buildQueueManager)
public void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)
public void setStopBuildManager(StopBuildManager stopBuildManager)
public java.lang.Object getSecuredDomainObject()
getSecuredDomainObject
in interface DomainObjectSecurityAware
getSecuredDomainObject
in class BambooActionSupport
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |