Class CreateJob

All Implemented Interfaces:
JsonStreamingAction, ErrorCollection, BambooSessionAware, BareBuildConfigurationAware, BuildConfigurationAware, ChainAware, NavigationAware, DomainObjectSecurityAware, GlobalReadSecurityAware, PlanAdminSecurityAware, PlanAware, PlanLimitAware, ProjectAware, ReturnUrlAware, com.atlassian.core.i18n.I18nTextProvider, com.atlassian.struts.TextProvider, com.atlassian.struts.ValidationAware, com.opensymphony.xwork.ValidationAware, com.opensymphony.xwork2.Action, com.opensymphony.xwork2.interceptor.ValidationAware, com.opensymphony.xwork2.LocaleProvider, com.opensymphony.xwork2.TextProvider, com.opensymphony.xwork2.Validateable, Serializable

See Also:
  • Field Details

  • Constructor Details

    • CreateJob

      public CreateJob()
  • Method Details

    • doDefault

      public String doDefault() throws Exception
      Description copied from class: BambooActionSupport
      Default action just sends to the input
      Overrides:
      doDefault in class BambooActionSupport
      Throws:
      Exception
    • 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()
    • getChainsToClone

      public Collection<ImmutableChain> getChainsToClone()
    • 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???)
    • getBuildConfiguration

      public BuildConfiguration getBuildConfiguration()
      Specified by:
      getBuildConfiguration in interface BareBuildConfigurationAware
    • setBuildConfiguration

      public void setBuildConfiguration(BuildConfiguration buildConfiguration)
      Specified by:
      setBuildConfiguration in interface BareBuildConfigurationAware
    • 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
    • getUnclonableSubscriptions

      public List<ArtifactSubscription> getUnclonableSubscriptions()
    • isIgnoreUnclonableSubscriptions

      public boolean isIgnoreUnclonableSubscriptions()
    • setIgnoreUnclonableSubscriptions

      public void setIgnoreUnclonableSubscriptions(boolean ignoreUnclonableSubscriptions)
    • getUiConfigBean

      public UIConfigSupport getUiConfigBean()
    • setUiConfigBean

      public void setUiConfigBean(UIConfigSupport uiConfigBean)
    • setJdkManager

      public void setJdkManager(JdkManager jdkManager)
    • setArtifactSubscriptionManager

      public void setArtifactSubscriptionManager(ArtifactSubscriptionManager artifactSubscriptionManager)
    • getAvailableJdks

      public Collection<String> getAvailableJdks()
    • 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()
    • getDockerHandlers

      public List<DockerConfigurationProviders.Config> getDockerHandlers()