@Symbol(value="argusNotifier")
@Extension
public static final class ArgusNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
ArgusNotifier. Used as a singleton.
The class is marked as public so that it can be accessed from views.| 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) |
hudson.util.FormValidation |
doCheckCredentialsId(String credentialsId,
String argusUrl) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems()
Populate the credentials dropdown box
|
hudson.util.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 hudson.model.AbstractProject> aClass) |
boolean |
isSendForAllBuilds() |
boolean |
isSendSystemMetrics() |
addHelpFileRedirect, 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 hudson.util.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 hudson.util.FormValidation doCheckCredentialsId(@QueryParameter(value="credentialsId")
String credentialsId,
@QueryParameter(value="argusUrl")
String argusUrl)
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> aClass)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic hudson.util.ListBoxModel doFillCredentialsIdItems()
Copyright © 2016–2018. All rights reserved.