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
@Extension public class BitBucketPPRPluginConfig extends GlobalConfiguration
-
-
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 Modifier and Type Field Description static StringBITBUCKET_PPR_PLUGIN_CONFIGURATION_IDStringcredentialsIdStringhookUrlbooleannotifyBitBucketStringpropagationUrlStringsingleJobbooleanuseJobNameAsBuildKey-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description BitBucketPPRPluginConfig()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanconfigure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)FormValidationdoCheckPropagationUrl(String value)ListBoxModeldoFillCredentialsIdItems(Item context, String remote, String credentialsId)StringgetCredentialsId()StringgetDisplayName()StringgetHookUrl()static BitBucketPPRPluginConfiggetInstance()booleangetNotifyBitBucket()StringgetPropagationUrl()StringgetSingleJob()booleangetUseJobNameAsBuildKey()booleanisHookUrlSet()booleanisPropagationUrlSet()booleanisSingleJobSet()voidsetCredentialsId(String credentialsId)voidsetHookUrl(String hookUrl)voidsetNotifyBitBucket(boolean notifyBitBucket)voidsetPropagationUrl(String propagationUrl)voidsetSingleJob(String singleJob)voidsetUseJobNameAsBuildKey(boolean useJobNameAsBuildKey)-
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 Detail
-
BITBUCKET_PPR_PLUGIN_CONFIGURATION_ID
public static final String BITBUCKET_PPR_PLUGIN_CONFIGURATION_ID
- See Also:
- Constant Field Values
-
hookUrl
public String hookUrl
-
notifyBitBucket
public boolean notifyBitBucket
-
useJobNameAsBuildKey
public boolean useJobNameAsBuildKey
-
credentialsId
public String credentialsId
-
singleJob
public String singleJob
-
propagationUrl
public String propagationUrl
-
-
Method Detail
-
getInstance
public static BitBucketPPRPluginConfig getInstance()
-
setHookUrl
@DataBoundSetter public void setHookUrl(String hookUrl)
-
setPropagationUrl
@DataBoundSetter public void setPropagationUrl(String propagationUrl)
-
doCheckPropagationUrl
public FormValidation doCheckPropagationUrl(@QueryParameter String value)
-
isHookUrlSet
public boolean isHookUrlSet()
-
getHookUrl
public String getHookUrl()
-
getNotifyBitBucket
public boolean getNotifyBitBucket()
-
getPropagationUrl
public String getPropagationUrl()
-
isPropagationUrlSet
public boolean isPropagationUrlSet()
-
setNotifyBitBucket
@DataBoundSetter public void setNotifyBitBucket(@CheckForNull boolean notifyBitBucket)
-
getUseJobNameAsBuildKey
public boolean getUseJobNameAsBuildKey()
-
setUseJobNameAsBuildKey
@DataBoundSetter public void setUseJobNameAsBuildKey(@CheckForNull boolean useJobNameAsBuildKey)
-
setCredentialsId
@DataBoundSetter public void setCredentialsId(@CheckForNull String credentialsId)
-
getCredentialsId
public String getCredentialsId()
-
setSingleJob
@DataBoundSetter public void setSingleJob(String singleJob)
-
isSingleJobSet
public boolean isSingleJobSet()
-
getSingleJob
public String getSingleJob()
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayNamein classDescriptor<GlobalConfiguration>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException- Overrides:
configurein classGlobalConfiguration- Throws:
Descriptor.FormException
-
doFillCredentialsIdItems
public ListBoxModel doFillCredentialsIdItems(@AncestorInPath Item context, @QueryParameter String remote, @QueryParameter String credentialsId)
-
-