public class MpPublisherDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
implements hudson.plugins.im.IMPublisherDescriptor
| Modifier and Type | Field and Description |
|---|---|
static String |
PARAM_API_KEY |
static String |
PARAM_TARGETS |
static String |
PARAMETERVALUE_STRATEGY_DEFAULT |
static String[] |
PARAMETERVALUE_STRATEGY_VALUES |
| Constructor and Description |
|---|
MpPublisherDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.model.AutoCompletionCandidates |
doAutoCompleteTargets(String value) |
hudson.util.FormValidation |
doCheckBuddy(String buddyId) |
String |
getApiKey()
Returns the globally-configured server API key for this project.
|
String |
getCommandPrefix() |
String |
getDefaultIdSuffix() |
List<hudson.plugins.im.IMMessageTarget> |
getDefaultTargets() |
String |
getDisplayName() |
String |
getHost() |
String |
getHostname() |
String |
getHudsonUserName() |
hudson.plugins.im.IMMessageTargetConverter |
getIMMessageTargetConverter() |
hudson.plugins.im.config.ParameterNames |
getParamNames() |
String |
getPassword() |
String |
getPluginDescription() |
int |
getPort() |
String |
getUserName() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
boolean |
isEnabled() |
boolean |
isExposePresence() |
MpPublisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
This function is called applying or saving a job setting.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final String PARAM_API_KEY
public static final String PARAM_TARGETS
public static final String[] PARAMETERVALUE_STRATEGY_VALUES
public static final String PARAMETERVALUE_STRATEGY_DEFAULT
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public String getPluginDescription()
getPluginDescription in interface hudson.plugins.im.IMPublisherDescriptorpublic hudson.util.FormValidation doCheckBuddy(@QueryParameter(value="mp.targets")
String buddyId)
public boolean isEnabled()
isEnabled in interface hudson.plugins.im.IMPublisherDescriptorpublic String getApiKey()
public MpPublisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic hudson.model.AutoCompletionCandidates doAutoCompleteTargets(@QueryParameter
String value)
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public hudson.plugins.im.IMMessageTargetConverter getIMMessageTargetConverter()
getIMMessageTargetConverter in interface hudson.plugins.im.IMPublisherDescriptorpublic List<hudson.plugins.im.IMMessageTarget> getDefaultTargets()
getDefaultTargets in interface hudson.plugins.im.IMPublisherDescriptorpublic hudson.plugins.im.config.ParameterNames getParamNames()
getParamNames in interface hudson.plugins.im.IMPublisherDescriptorpublic boolean isExposePresence()
isExposePresence in interface hudson.plugins.im.IMPublisherDescriptorpublic String getHost()
getHost in interface hudson.plugins.im.IMPublisherDescriptorpublic String getHostname()
getHostname in interface hudson.plugins.im.IMPublisherDescriptorpublic int getPort()
getPort in interface hudson.plugins.im.IMPublisherDescriptorpublic String getHudsonUserName()
getHudsonUserName in interface hudson.plugins.im.IMPublisherDescriptorpublic String getUserName()
getUserName in interface hudson.plugins.im.IMPublisherDescriptorpublic String getPassword()
getPassword in interface hudson.plugins.im.IMPublisherDescriptorpublic String getCommandPrefix()
getCommandPrefix in interface hudson.plugins.im.IMPublisherDescriptorpublic String getDefaultIdSuffix()
getDefaultIdSuffix in interface hudson.plugins.im.IMPublisherDescriptorCopyright © 2004-2014. All Rights Reserved.