Class CreateChain

    • Constructor Detail

      • CreateChain

        public CreateChain()
    • Method Detail

      • validate

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

        public String createBuild()
      • getBuildKey

        public String getBuildKey()
      • setBuildKey

        public void setBuildKey​(String buildKey)
      • getJobKey

        public String getJobKey()
      • setPlanLimitReached

        public void setPlanLimitReached()
        Description copied from interface: PlanLimitAware
        Called if the interceptor detects that the plan limit has been exhausted. Its up to the actions as to how they react
        Specified by:
        setPlanLimitReached in interface PlanLimitAware
      • isPlanLimitReached

        public boolean isPlanLimitReached()
        Description copied from interface: PlanLimitAware
        Allows UI to check whether the plan limit has been reached
        Specified by:
        isPlanLimitReached in interface PlanLimitAware
        Returns:
        true if the plan limit has been reached or not.
      • isClonePlan

        public boolean isClonePlan()
      • setClonePlan

        public void setClonePlan​(boolean clonePlan)
      • getPlanKeyToClone

        public String getPlanKeyToClone()
      • setPlanKeyToClone

        public void setPlanKeyToClone​(String planKeyToClone)
      • getExistingProjectKey

        public String getExistingProjectKey()
      • setExistingProjectKey

        public void setExistingProjectKey​(String existingProjectKey)
      • getPlansToClone

        @NotNull
        public @NotNull Collection<ImmutableChain> getPlansToClone()
        Returns:
        all builds that are available to the current user to be cloned
      • isNewProject

        public boolean isNewProject()
      • setNewProject

        public void setNewProject​(boolean newProject)
      • getProjectName

        public String getProjectName()
      • setProjectName

        public void setProjectName​(String projectName)
      • getProjectKey

        public String getProjectKey()
      • setProjectKey

        public void setProjectKey​(String projectKey)
      • getChainName

        public String getChainName()
      • setChainName

        public void setChainName​(String chainName)
      • getChainKey

        public String getChainKey()
      • setChainKey

        public void setChainKey​(String chainKey)
      • isPublicPlanAccess

        public boolean isPublicPlanAccess()
      • setPublicPlanAccess

        public void setPublicPlanAccess​(boolean publicPlanAccess)
      • isChainEnabled

        public boolean isChainEnabled()
      • setChainEnabled

        public void setChainEnabled​(boolean chainEnabled)