|
||||||||||
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.ww2.actions.build.admin.DeleteBuilds
public class DeleteBuilds
This class provides a UI action to remove one or more build.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
BambooActionSupport.JSONStatus |
Field Summary |
---|
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport |
---|
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, chainManager, CONFIRM, cookieCutter, dashboardCachingManager, planManager, projectManager |
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.Collection<Build> |
getBuilds(Project project)
|
java.util.List<Build> |
getBuildsToConfirm()
|
java.util.Map<Project,java.util.Collection<Build>> |
getProjectBuilds()
|
java.util.Collection<Project> |
getProjects()
|
java.util.List<Project> |
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 java.util.Map<Project,java.util.Collection<Build>> getProjectBuilds()
public java.util.Collection<Build> getBuilds(Project project)
public java.util.Collection<Project> getProjects()
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.List<Build> getBuildsToConfirm()
public java.util.List<Project> 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 |