Class MoveBuilds

    • Constructor Detail

      • MoveBuilds

        public MoveBuilds()
    • Method Detail

      • selectPlans

        public String selectPlans()
      • execute

        public String execute()
                       throws Exception
        Specified by:
        execute in interface com.opensymphony.xwork2.Action
        Overrides:
        execute in class com.opensymphony.xwork2.ActionSupport
        Throws:
        Exception
      • getSelectedProject

        public Project getSelectedProject()
      • isNewProject

        public boolean isNewProject​(String existingProjectKey)
      • setPlanIds

        public void setPlanIds​(long[] buildIds)
      • setPlanIdMappings

        public void setPlanIdMappings​(Map<String,​String> planIdMappings)
      • setPlanKeyMappings

        public void setPlanKeyMappings​(Map<String,​String> planKeyMappings)
      • setPlanNameMappings

        public void setPlanNameMappings​(Map<String,​String> planNameMappings)
      • isBuildQueuesDisabled

        public boolean isBuildQueuesDisabled()
      • getProjectName

        public String getProjectName()
      • setProjectName

        public void setProjectName​(String projectName)
      • getProjectKey

        public String getProjectKey()
      • setProjectKey

        public void setProjectKey​(String projectKey)
      • getProjectDescription

        public String getProjectDescription()
      • setProjectDescription

        public void setProjectDescription​(String projectDescription)
      • getExistingProjectKey

        public String getExistingProjectKey()
      • setExistingProjectKey

        public void setExistingProjectKey​(String existingProjectKey)
      • isApplicable

        public boolean isApplicable​(ImmutablePlan plan)
        Description copied from interface: BulkActionScope
        Returns whether or not a plan is applicable for a certain bulk action, eg. only plans with svn repositories for an action updating svn details
        Specified by:
        isApplicable in interface BulkActionScope
        Returns:
        true if applicable
      • isPlanSelected

        public boolean isPlanSelected​(String planKey)
      • getSortedProjects

        public List<Project> getSortedProjects()