com.atlassian.bamboo.ww2.actions.build.admin
Class MoveBuilds

java.lang.Object
  extended by com.opensymphony.xwork.ActionSupport
      extended by com.atlassian.bamboo.ww2.BambooActionSupport
          extended by com.atlassian.bamboo.configuration.GlobalAdminAction
              extended by com.atlassian.bamboo.ww2.actions.build.admin.MoveBuilds
All Implemented Interfaces:
ErrorCollection, BambooSessionAware, DomainObjectSecurityAware, GlobalAdminSecurityAware, GlobalReadSecurityAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.opensymphony.xwork.Action, com.opensymphony.xwork.LocaleProvider, com.opensymphony.xwork.TextProvider, com.opensymphony.xwork.Validateable, com.opensymphony.xwork.ValidationAware, com.uwyn.rife.continuations.ContinuableObject, java.io.Serializable, java.lang.Cloneable

public class MoveBuilds
extends GlobalAdminAction

See Also:
Serialized Form

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.configuration.GlobalAdminAction
RESTRICTED_ADMIN_ACCESS_DENIED_ERROR
 
Fields inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
administrationConfigurationManager, bambooPermissionManager, buildDefinitionManager, buildManager, commentManager, CONFIRM, cookieCutter, dashboardCachingManager, planExecutionManager, 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
MoveBuilds()
           
 
Method Summary
 java.lang.String doSelectPlans()
           
 java.lang.String execute()
           
 java.lang.String getExistingProjectKey()
           
 long[] getPlanIds()
           
 java.util.Map<java.lang.String,java.lang.String> getPlanKeyMappings()
           
 java.util.Map<java.lang.String,java.lang.String> getPlanNameMappings()
           
 java.util.Collection<TopLevelPlan> getPlans(Project project)
           
 java.lang.String getProjectKey()
           
 java.lang.String getProjectName()
           
 java.util.Map<Project,java.util.Collection<TopLevelPlan>> getProjectPlans()
           
 java.util.Collection<Project> getProjects()
           
 java.util.Collection<TopLevelPlan> getSelectedPlans()
           
 Project getSelectedProject()
           
 net.sf.hibernate.SessionFactory getSessionFactory()
           
 boolean isBuildQueuesDisabled()
           
 void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)
           
 void setEventManager(com.atlassian.event.EventManager eventManager)
           
 void setExistingProjectKey(java.lang.String existingProjectKey)
           
 void setLocalAgentManager(LocalAgentManager localAgentManager)
           
 void setPlanIds(long[] buildIds)
           
 void setPlanKeyMappings(java.util.Map<java.lang.String,java.lang.String> planKeyMappings)
           
 void setPlanManager(PlanManager planManager)
           
 void setPlanNameMappings(java.util.Map<java.lang.String,java.lang.String> planNameMappings)
           
 void setPlanValidationService(PlanValidationService planValidationService)
           
 void setProjectKey(java.lang.String projectKey)
           
 void setProjectName(java.lang.String projectName)
           
 void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)
           
 void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)
           
 void validate()
           
 
Methods inherited from class com.atlassian.bamboo.configuration.GlobalAdminAction
getSecuredDomainObject
 
Methods inherited from class com.atlassian.bamboo.ww2.BambooActionSupport
addError, addError, addErrorCollection, addErrorMessage, addErrorMessage, addErrorMessages, addErrors, addIllegalArgumentException, areCheckBoxesEmpty, buildJsonObject, checkFieldXssSafety, createFieldValidator, doDefault, doesHelpLinkHaveMatchingTitle, doesLabelKeyHaveMatchingDescription, doExecute, getAdministrationConfiguration, getBamboo, getBambooLicenseManager, getBambooPermissionManager, getBambooSession, getBambooUserManager, getBaseUrl, getBootstrapManager, getBreadCrumbs, getBuildManager, getConcurrentBuildsEnabled, getConglomerateCookieValue, getCookieCutter, getCookieValue, getCurrentSystemTime, getCurrentUrl, getDefaultPersister, getDescriptionFromLabelKey, getFlushedErrorMessages, getFormattedActionErrors, getFormattedErrorMessages, getInstanceName, getJsonObject, getNumberOfCurrentlyBuildingPlans, getPlan, getPlanManager, getReturnUrl, getSessionUser, getText, getText, getText, getText, getText, getText, getText, getText, getText, getText, getTexts, getTexts, getTotalErrors, getUser, getValidatorContext, getWebFragmentsContextMap, getWebItemsForSection, getWebSectionsForLocation, hasAdminPermission, hasAnyErrors, hasBuilds, hasGlobalAdminPermission, hasGlobalPermission, hasKey, hasPlanPermission, hasPlanPermission, hasRestrictedAdminPermission, isCheckboxSetInAction, isEnableJavascript, isEnableSignup, isRestrictedAdminEnabled, isSelectFieldAndNull, renderFreemarkerTemplate, setAdministrationConfigurationManager, setAuthenticationContext, setBambooLicenseManager, setBambooPermissionManager, setBambooUserManager, setBuildDefinitionManager, setBuildManager, setCheckBoxFields, setCommentManager, setCookieCutter, setDashboardCachingManager, setEnableJavascript, setErrorMessages, setI18nBeanFactory, setPlanExecutionManager, setProjectManager, setReturnUrl, setWebInterfaceManager
 
Methods inherited from class com.opensymphony.xwork.ActionSupport
addActionError, addActionMessage, addFieldError, clearErrorsAndMessages, clone, doInput, getActionErrors, getActionMessages, getErrorMessages, getErrors, getFieldErrors, getLocale, hasActionErrors, hasActionMessages, hasErrors, hasFieldErrors, 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
 

Constructor Detail

MoveBuilds

public MoveBuilds()
Method Detail

doSelectPlans

public java.lang.String doSelectPlans()

validate

public void validate()
Specified by:
validate in interface com.opensymphony.xwork.Validateable
Overrides:
validate in class com.opensymphony.xwork.ActionSupport

execute

public java.lang.String execute()
                         throws java.lang.Exception
Specified by:
execute in interface com.opensymphony.xwork.Action
Overrides:
execute in class BambooActionSupport
Throws:
java.lang.Exception

getProjectPlans

public java.util.Map<Project,java.util.Collection<TopLevelPlan>> getProjectPlans()

getPlans

public java.util.Collection<TopLevelPlan> getPlans(Project project)

getProjects

public java.util.Collection<Project> getProjects()

getSelectedPlans

@NotNull
public java.util.Collection<TopLevelPlan> getSelectedPlans()

getSelectedProject

public Project getSelectedProject()

getPlanIds

public long[] getPlanIds()

setPlanIds

public void setPlanIds(long[] buildIds)

getPlanKeyMappings

public java.util.Map<java.lang.String,java.lang.String> getPlanKeyMappings()

setPlanKeyMappings

public void setPlanKeyMappings(java.util.Map<java.lang.String,java.lang.String> planKeyMappings)

getPlanNameMappings

public java.util.Map<java.lang.String,java.lang.String> getPlanNameMappings()

setPlanNameMappings

public void setPlanNameMappings(java.util.Map<java.lang.String,java.lang.String> planNameMappings)

isBuildQueuesDisabled

public boolean isBuildQueuesDisabled()

getSessionFactory

public net.sf.hibernate.SessionFactory getSessionFactory()

setSessionFactory

public void setSessionFactory(net.sf.hibernate.SessionFactory sessionFactory)

setLocalAgentManager

public void setLocalAgentManager(LocalAgentManager localAgentManager)

setBuildResultsIndexer

public void setBuildResultsIndexer(BuildResultsIndexer buildResultsIndexer)

setEventManager

public void setEventManager(com.atlassian.event.EventManager eventManager)

setPlanValidationService

public void setPlanValidationService(PlanValidationService planValidationService)

getProjectName

public java.lang.String getProjectName()

setProjectName

public void setProjectName(java.lang.String projectName)

getProjectKey

public java.lang.String getProjectKey()

setProjectKey

public void setProjectKey(java.lang.String projectKey)

getExistingProjectKey

public java.lang.String getExistingProjectKey()

setExistingProjectKey

public void setExistingProjectKey(java.lang.String existingProjectKey)

setPlanManager

public void setPlanManager(PlanManager planManager)
Overrides:
setPlanManager in class BambooActionSupport

setResultsSummaryManager

public void setResultsSummaryManager(ResultsSummaryManager resultsSummaryManager)


Copyright © 2010 Atlassian. All Rights Reserved.