Class CreateJob

    • Constructor Detail

      • CreateJob

        public CreateJob()
    • Method Detail

      • validate

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

        public String createJob()
      • cloneJob

        public String cloneJob()
      • getJobsToClone

        @NotNull
        public @NotNull List<ImmutableJob> getJobsToClone()
        Used on first render for functional tests
        Returns:
        all builds that are available to be cloned on the system(Does this follow permissions???)
      • getSubBuildKey

        public String getSubBuildKey()
      • setSubBuildKey

        public void setSubBuildKey​(String subBuildKey)
      • getIsolationType

        public String getIsolationType()
      • setIsolationType

        public void setIsolationType​(String jobRunEnvironmentIsolation)
      • getChainKeyToClone

        public String getChainKeyToClone()
      • 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.
      • 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
      • isIgnoreUnclonableSubscriptions

        public boolean isIgnoreUnclonableSubscriptions()
      • setIgnoreUnclonableSubscriptions

        public void setIgnoreUnclonableSubscriptions​(boolean ignoreUnclonableSubscriptions)
      • setUiConfigBean

        public void setUiConfigBean​(UIConfigSupport uiConfigBean)
      • setJdkManager

        public void setJdkManager​(JdkManager jdkManager)
      • setArtifactSubscriptionManager

        public void setArtifactSubscriptionManager​(ArtifactSubscriptionManager artifactSubscriptionManager)
      • isAllowStageCreation

        public boolean isAllowStageCreation()
      • setAllowStageCreation

        public void setAllowStageCreation​(boolean allowStageCreation)
      • setJobCreationService

        public void setJobCreationService​(JobCreationService jobCreationService)
      • getJobsContainingInvalidSubscriptions

        public com.google.common.collect.Multimap<ChainStage,​Job> getJobsContainingInvalidSubscriptions()
      • getEnvironmentIsolationOptions

        public Map<String,​String> getEnvironmentIsolationOptions()