@Extension
public static final class ChatterNotifier.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
ChatterNotifier
. Used as a singleton. The class is
marked as public so that it can be accessed from views.
See global.jelly for the actual HTML fragment for the configuration screen.
Constructor and Description |
---|
DescriptorImpl() |
Modifier and Type | Method and Description |
---|---|
hudson.util.FormValidation |
doCheckCredentialsId(String value) |
hudson.util.FormValidation |
doCheckRecordId(String value) |
hudson.util.FormValidation |
doCheckServer(String value) |
hudson.util.ListBoxModel |
doFillCredentialsIdItems(hudson.model.Item item)
Populate the credentials dropdown box
|
hudson.util.FormValidation |
doTestConnection(String username,
String password,
String recordId,
String server,
String credentialsId,
hudson.model.Item item) |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> aClass) |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, 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, toMap
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 hudson.util.FormValidation doCheckCredentialsId(@QueryParameter String value)
public hudson.util.FormValidation doCheckRecordId(@QueryParameter String value)
public hudson.util.FormValidation doCheckServer(@QueryParameter String value)
public hudson.util.FormValidation doTestConnection(@QueryParameter(value="username") String username, @QueryParameter(value="password") String password, @QueryParameter(value="recordId") String recordId, @QueryParameter(value="server") String server, @QueryParameter(value="credentialsId") String credentialsId, @AncestorInPath hudson.model.Item item)
public hudson.util.ListBoxModel doFillCredentialsIdItems(@AncestorInPath hudson.model.Item item)
item
- The ancestor item which we should check for configure permissionsCopyright © 2016–2019. All rights reserved.