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
Global configuration to store all Jira Software Cloud site settings (site name and the
corresponding credentials).
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final String
static final String
static final String
static final String
static final String
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject json) static Optional<JiraCloudSiteConfig>
filterFromConfig
(String site) static JiraCloudPluginConfig
get()
static List<JiraCloudSiteConfig>
boolean
boolean
getId()
static Optional<JiraCloudSiteConfig>
getJiraCloudSiteConfig
(String site) getSites()
static boolean
void
setAutoBuildsEnabled
(boolean autoBuildsEnabled) void
setAutoBuildsRegex
(String autoBuildsRegex) void
setAutoDeploymentsEnabled
(boolean autoDeploymentsEnabled) void
setAutoDeploymentsRegex
(String autoDeploymentsRegex) void
setDebugLogging
(Boolean debugLogging) void
setSites
(List<JiraCloudSiteConfig> sites) Methods inherited from class jenkins.model.GlobalConfiguration
all, getDescriptor, getGlobalConfigPage
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getDisplayName, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
FIELD_NAME_AUTO_BUILDS
- See Also:
-
FIELD_NAME_AUTO_DEPLOYMENTS
- See Also:
-
FIELD_NAME_SITES
- See Also:
-
FIELD_NAME_AUTO_BUILDS_REGEX
- See Also:
-
FIELD_NAME_AUTO_DEPLOYMENTS_REGEX
- See Also:
-
FIELD_NAME_DEBUG_LOGGING
- See Also:
-
-
Constructor Details
-
JiraCloudPluginConfig
public JiraCloudPluginConfig()
-
-
Method Details
-
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 classGlobalConfiguration
- Throws:
Descriptor.FormException
-
getId
- Overrides:
getId
in classDescriptor<GlobalConfiguration>
-
getSites
-
setSites
-
setAutoBuildsEnabled
public void setAutoBuildsEnabled(boolean autoBuildsEnabled) -
setAutoBuildsRegex
-
getDebugLogging
-
setDebugLogging
-
setAutoDeploymentsRegex
-
setAutoDeploymentsEnabled
public void setAutoDeploymentsEnabled(boolean autoDeploymentsEnabled) -
getJiraCloudSiteConfig
-
filterFromConfig
-
getAllSites
-
getAutoBuildsEnabled
public boolean getAutoBuildsEnabled() -
getAutoBuildsRegex
-
getAutoDeploymentsEnabled
public boolean getAutoDeploymentsEnabled() -
getAutoDeploymentsRegex
-