public class JabberPublisherDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
implements hudson.plugins.im.IMPublisherDescriptor
| Constructor and Description |
|---|
JabberPublisherDescriptor() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json) |
hudson.util.FormValidation |
doJabberIdCheck(String jabberId,
String hostname,
String port,
String proxyType) |
hudson.util.FormValidation |
doProxyCheck(String proxyType,
String proxyHost,
String proxyPort) |
hudson.util.FormValidation |
doServerCheck(String hostname,
String port,
String proxyType)
Validates the connection information.
|
String |
getCommandPrefix() |
String |
getDefaultIdSuffix() |
List<hudson.plugins.im.IMMessageTarget> |
getDefaultTargets() |
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getGroupChatNickname() |
String |
getHost()
Returns the real host to use.
|
String |
getHostname()
Returns the overridden hostname in case e.g.
|
String |
getHudsonUserName() |
hudson.plugins.im.IMMessageTargetConverter |
getIMMessageTargetConverter() |
String |
getJabberId()
Returns the jabber ID.
|
String |
getPassword() |
String |
getPluginDescription() |
int |
getPort() |
String |
getPortString()
Returns the text to be put into the form field.
|
String |
getProxyHost() |
String |
getProxyPass() |
int |
getProxyPort() |
String |
getProxyPortString()
Returns the text to be put into the form field.
|
org.jivesoftware.smack.proxy.ProxyInfo.ProxyType |
getProxyType() |
String |
getProxyTypeString()
Returns the text to be put into the form field.
|
String |
getProxyUser() |
String |
getSubscriptionMode() |
String |
getUserName()
Returns the 'user' part of the Jabber ID.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
boolean |
isEmailAddressAsJabberId() |
boolean |
isEnabled() |
boolean |
isEnableSASL() |
boolean |
isExposePresence() |
void |
load() |
JabberPublisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Creates a new instance of
JabberPublisher from a submitted form. |
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPlugin, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMappublic static final String PARAMETERNAME_ENABLED
public static final String PARAMETERNAME_PORT
public static final String PARAMETERNAME_HOSTNAME
public static final String PARAMETERNAME_USEPROXY
public static final String PARAMETERNAME_PROXYTYPE
public static final String PARAMETERNAME_PROXYHOST
public static final String PARAMETERNAME_PROXYPORT
public static final String PARAMETERNAME_PROXYUSER
public static final String PARAMETERNAME_PROXYPASS
public static final String PARAMETERNAME_SSL
public static final String PARAMETERNAME_SASL
public static final String PARAMETERNAME_PRESENCE
public static final String PARAMETERNAME_PASSWORD
public static final String PARAMETERNAME_JABBERID
public static final String PARAMETERNAME_GROUP_NICKNAME
public static final String PARAMETERNAME_TARGETS
public static final String PARAMETERNAME_INITIAL_GROUPCHATS
public static final String PARAMETERNAME_COMMAND_PREFIX
public static final String PARAMETERNAME_DEFAULT_ID_SUFFIX
public static final String PARAMETERNAME_SUBSCRIPTION_MODE
public static final String PARAMETERNAME_EMAIL_ADDRESS_AS_JABBERID
public static final String[] PARAMETERVALUE_SUBSCRIPTION_MODE
public static final String[] PARAMETERVALUE_PROXYTYPES
public static final String[] PARAMETERVALUE_STRATEGY_VALUES
public static final String PARAMETERVALUE_STRATEGY_DEFAULT
public static final String DEFAULT_COMMAND_PREFIX
public void load()
load in class hudson.model.Descriptor<hudson.tasks.Publisher>public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public String getPluginDescription()
getPluginDescription in interface hudson.plugins.im.IMPublisherDescriptorpublic boolean isEnabled()
isEnabled in interface hudson.plugins.im.IMPublisherDescriptorpublic String getHostname()
getHostname in interface hudson.plugins.im.IMPublisherDescriptorpublic String getHost()
getServiceName()getHost in interface hudson.plugins.im.IMPublisherDescriptorpublic String getJabberId()
public String getPassword()
getPassword in interface hudson.plugins.im.IMPublisherDescriptorpublic String getGroupChatNickname()
public int getPort()
getPort in interface hudson.plugins.im.IMPublisherDescriptorpublic String getPortString()
public boolean isEnableSASL()
public boolean isExposePresence()
isExposePresence in interface hudson.plugins.im.IMPublisherDescriptorpublic String getSubscriptionMode()
public boolean isEmailAddressAsJabberId()
public String getDefaultIdSuffix()
getDefaultIdSuffix in interface hudson.plugins.im.IMPublisherDescriptorpublic String getCommandPrefix()
getCommandPrefix in interface hudson.plugins.im.IMPublisherDescriptorpublic String getProxyHost()
public String getProxyUser()
public String getProxyPass()
public org.jivesoftware.smack.proxy.ProxyInfo.ProxyType getProxyType()
public int getProxyPort()
public String getProxyPortString()
public String getProxyTypeString()
public JabberPublisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
JabberPublisher from a submitted form.newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic 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 hudson.util.FormValidation doJabberIdCheck(@QueryParameter
String jabberId,
@QueryParameter
String hostname,
@QueryParameter
String port,
@QueryParameter
String proxyType)
public hudson.util.FormValidation doProxyCheck(@QueryParameter
String proxyType,
@QueryParameter
String proxyHost,
@QueryParameter
String proxyPort)
public hudson.util.FormValidation doServerCheck(@QueryParameter
String hostname,
@QueryParameter
String port,
@QueryParameter
String proxyType)
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public String getUserName()
getUserName in interface hudson.plugins.im.IMPublisherDescriptorpublic String getHudsonUserName()
getHudsonUserName in interface hudson.plugins.im.IMPublisherDescriptorpublic hudson.plugins.im.IMMessageTargetConverter getIMMessageTargetConverter()
getIMMessageTargetConverter in interface hudson.plugins.im.IMPublisherDescriptorpublic List<hudson.plugins.im.IMMessageTarget> getDefaultTargets()
getDefaultTargets in interface hudson.plugins.im.IMPublisherDescriptorCopyright © 2004-2014 Hudson. All Rights Reserved.