Class BitBucketPPRPluginConfig
java.lang.Object
hudson.model.Descriptor<GlobalConfiguration>
jenkins.model.GlobalConfiguration
io.jenkins.plugins.bitbucketpushandpullrequest.config.BitBucketPPRPluginConfig
- All Implemented Interfaces:
ExtensionPoint
,Describable<GlobalConfiguration>
,Saveable
,OnMaster
-
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
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 formData) doFillCredentialsIdItems
(Item context, String remote, String credentialsId) static BitBucketPPRPluginConfig
boolean
boolean
void
setCredentialsId
(String credentialsId) void
setHookUrl
(String hookUrl) void
setNotifyBitBucket
(boolean notifyBitBucket) void
setSingleJob
(String singleJob) void
setUseJobNameAsBuildKey
(boolean useJobNameAsBuildKey) boolean
boolean
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, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
Field Details
-
BITBUCKET_PPR_PLUGIN_CONFIGURATION_ID
- See Also:
-
hookUrl
-
notifyBitBucket
public boolean notifyBitBucket -
useJobNameAsBuildKey
public boolean useJobNameAsBuildKey -
credentialsId
-
singleJob
-
-
Constructor Details
-
BitBucketPPRPluginConfig
public BitBucketPPRPluginConfig()
-
-
Method Details
-
getInstance
-
setHookUrl
-
isHookUrlSet
public boolean isHookUrlSet() -
getHookUrl
-
shouldNotifyBitBucket
public boolean shouldNotifyBitBucket() -
setNotifyBitBucket
@DataBoundSetter public void setNotifyBitBucket(@CheckForNull boolean notifyBitBucket) -
shouldUseJobNameAsBuildKey
public boolean shouldUseJobNameAsBuildKey() -
setUseJobNameAsBuildKey
@DataBoundSetter public void setUseJobNameAsBuildKey(@CheckForNull boolean useJobNameAsBuildKey) -
setCredentialsId
-
setSingleJob
-
isSingleJobSet
public boolean isSingleJobSet() -
getSingleJob
-
getDisplayName
- Overrides:
getDisplayName
in classDescriptor<GlobalConfiguration>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException - Overrides:
configure
in classGlobalConfiguration
- Throws:
Descriptor.FormException
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String remote, @QueryParameter String credentialsId)
-