Package org.jenkinsci.plugins.bigpanda
Class BigpandaGlobalNotifier.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<BigpandaGlobalNotifier>
-
- org.jenkinsci.plugins.bigpanda.BigpandaGlobalNotifier.DescriptorImpl
-
- All Implemented Interfaces:
hudson.model.Saveable
,jenkins.util.io.OnMaster
- Enclosing class:
- BigpandaGlobalNotifier
@Extension public static final class BigpandaGlobalNotifier.DescriptorImpl extends hudson.model.Descriptor<BigpandaGlobalNotifier>
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
hudson.util.FormValidation
doCheckBigpandaApiKey(String value)
hudson.util.FormValidation
doCheckBigpandaAppKey(String value)
hudson.util.FormValidation
doCheckWebhookUrl(String value)
hudson.util.Secret
getBigpandaApiKey()
String
getBigpandaAppKey()
String
getDefaultWebhookUrl()
Provides the default webhook for the API callsString
getDisplayName()
String
getWebhookUrl()
Provides the webhook for the API callsvoid
setBigpandaApiKey(hudson.util.Secret bigpandaApiKey)
void
setBigpandaAppKey(String bigpandaAppKey)
void
setWebhookUrl(String webhookUrl)
-
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, getGlobalConfigPage, 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
-
-
-
-
Method Detail
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classhudson.model.Descriptor<BigpandaGlobalNotifier>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
- Overrides:
configure
in classhudson.model.Descriptor<BigpandaGlobalNotifier>
-
getBigpandaApiKey
public hudson.util.Secret getBigpandaApiKey()
- Returns:
- Bigpanda Api Key
-
getBigpandaAppKey
public String getBigpandaAppKey()
- Returns:
- Bigpanda App Key
-
getWebhookUrl
public String getWebhookUrl()
Provides the webhook for the API calls- Returns:
- Webhook URL
-
getDefaultWebhookUrl
public String getDefaultWebhookUrl()
Provides the default webhook for the API calls- Returns:
- Webhook URL
-
setBigpandaApiKey
@DataBoundSetter public void setBigpandaApiKey(hudson.util.Secret bigpandaApiKey)
-
setBigpandaAppKey
@DataBoundSetter public void setBigpandaAppKey(String bigpandaAppKey)
-
setWebhookUrl
@DataBoundSetter public void setWebhookUrl(String webhookUrl)
-
doCheckBigpandaApiKey
public hudson.util.FormValidation doCheckBigpandaApiKey(@QueryParameter("bigpandaApiKey") String value)
-
doCheckBigpandaAppKey
public hudson.util.FormValidation doCheckBigpandaAppKey(@QueryParameter("bigpandaAppKey") String value)
-
doCheckWebhookUrl
public hudson.util.FormValidation doCheckWebhookUrl(@QueryParameter("webhookUrl") String value)
-
-