Class JiraCloudPluginConfig

java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
com.atlassian.jira.cloud.jenkins.config.JiraCloudPluginConfig
All Implemented Interfaces:
ExtensionPoint, Describable<GlobalConfiguration>, Saveable, OnMaster

@Extension public class JiraCloudPluginConfig extends GlobalConfiguration
Global configuration to store all Jira Software Cloud site settings (site name and the corresponding credentials).
  • Field Details

  • Constructor Details

    • JiraCloudPluginConfig

      public JiraCloudPluginConfig()
  • Method Details

    • get

      @Nullable public static JiraCloudPluginConfig get()
    • isDebugLoggingEnabled

      public static boolean isDebugLoggingEnabled()
    • configure

      public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) throws Descriptor.FormException
      Overrides:
      configure in class GlobalConfiguration
      Throws:
      Descriptor.FormException
    • getId

      public String getId()
      Overrides:
      getId in class Descriptor<GlobalConfiguration>
    • getSites

      public List<JiraCloudSiteConfig> getSites()
    • setSites

      public void setSites(List<JiraCloudSiteConfig> sites)
    • setAutoBuildsEnabled

      public void setAutoBuildsEnabled(boolean autoBuildsEnabled)
    • setAutoBuildsRegex

      public void setAutoBuildsRegex(@Nullable String autoBuildsRegex)
    • getDebugLogging

      public Boolean getDebugLogging()
    • setDebugLogging

      public void setDebugLogging(Boolean debugLogging)
    • setAutoDeploymentsRegex

      public void setAutoDeploymentsRegex(String autoDeploymentsRegex)
    • setAutoDeploymentsEnabled

      public void setAutoDeploymentsEnabled(boolean autoDeploymentsEnabled)
    • getJiraCloudSiteConfig

      public static Optional<JiraCloudSiteConfig> getJiraCloudSiteConfig(@Nullable String site)
    • filterFromConfig

      public static Optional<JiraCloudSiteConfig> filterFromConfig(String site)
    • getAllSites

      public static List<JiraCloudSiteConfig> getAllSites()
    • getAutoBuildsEnabled

      public boolean getAutoBuildsEnabled()
    • getAutoBuildsRegex

      public String getAutoBuildsRegex()
    • getAutoDeploymentsEnabled

      public boolean getAutoDeploymentsEnabled()
    • getAutoDeploymentsRegex

      public String getAutoDeploymentsRegex()