@Symbol(value="argusNotifier") @Extension public static final class ArgusNotifier.DescriptorImpl extends BuildStepDescriptor<Publisher>
ArgusNotifier. Used as a singleton.
The class is marked as public so that it can be accessed from views.Descriptor.FormException, Descriptor.PropertyType, Descriptor.Selfclazz| Constructor and Description |
|---|
DescriptorImpl()
In order to load the persisted global configuration, you have to
call load() in the constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
FormValidation |
doCheckCredentialsId(String credentialsId,
String argusUrl) |
ListBoxModel |
doFillCredentialsIdItems()
Populate the credentials dropdown box
|
FormValidation |
doTestConnection(String argusUrl,
String credentialsId)
Test a connection to the given argusUrl with the given credential
|
String |
getArgusUrl() |
String |
getCredentialsId() |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getScope() |
String |
getSource() |
boolean |
isApplicable(Class<? extends AbstractProject> aClass) |
boolean |
isSendForAllBuilds() |
boolean |
isSendSystemMetrics() |
filteraddHelpFileRedirect, 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, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic DescriptorImpl()
public String getCredentialsId()
public String getArgusUrl()
public String getScope()
public String getSource()
public boolean isSendForAllBuilds()
public boolean isSendSystemMetrics()
public FormValidation doTestConnection(@QueryParameter(value="argusUrl") String argusUrl, @QueryParameter(value="credentialsId") String credentialsId)
argusUrl - - Argus web service URL to test the connection againstcredentialsId - - Jenkins credential to use for the testpublic FormValidation doCheckCredentialsId(@QueryParameter(value="credentialsId") String credentialsId, @QueryParameter(value="argusUrl") String argusUrl)
public boolean isApplicable(Class<? extends AbstractProject> aClass)
isApplicable in class BuildStepDescriptor<Publisher>public String getDisplayName()
getDisplayName in class Descriptor<Publisher>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws Descriptor.FormException
configure in class Descriptor<Publisher>Descriptor.FormExceptionpublic ListBoxModel doFillCredentialsIdItems()
Copyright © 2016–2019. All rights reserved.