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 |
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 |
getNickname() |
hudson.plugins.im.config.ParameterNames |
getParamNames() |
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 |
isAcceptAllCerts() |
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
boolean |
isEmailAddressAsJabberId() |
boolean |
isEnabled() |
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, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getT, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
public 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_PRESENCE
public static final String PARAMETERNAME_PASSWORD
public static final String PARAMETERNAME_JABBERID
public static final String PARAMETERNAME_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 PARAMETERNAME_ACCEPT_ALL_CERTS
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.IMPublisherDescriptor
public boolean isEnabled()
isEnabled
in interface hudson.plugins.im.IMPublisherDescriptor
public String getHostname()
getHostname
in interface hudson.plugins.im.IMPublisherDescriptor
public String getHost()
getServiceName()
getHost
in interface hudson.plugins.im.IMPublisherDescriptor
public String getJabberId()
public String getPassword()
getPassword
in interface hudson.plugins.im.IMPublisherDescriptor
public String getNickname()
public int getPort()
getPort
in interface hudson.plugins.im.IMPublisherDescriptor
public String getPortString()
public boolean isExposePresence()
isExposePresence
in interface hudson.plugins.im.IMPublisherDescriptor
public String getSubscriptionMode()
public boolean isEmailAddressAsJabberId()
public String getDefaultIdSuffix()
getDefaultIdSuffix
in interface hudson.plugins.im.IMPublisherDescriptor
public String getCommandPrefix()
getCommandPrefix
in interface hudson.plugins.im.IMPublisherDescriptor
public 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 boolean isAcceptAllCerts()
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.FormException
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.FormException
public 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.IMPublisherDescriptor
public String getHudsonUserName()
getHudsonUserName
in interface hudson.plugins.im.IMPublisherDescriptor
public hudson.plugins.im.IMMessageTargetConverter getIMMessageTargetConverter()
getIMMessageTargetConverter
in interface hudson.plugins.im.IMPublisherDescriptor
public List<hudson.plugins.im.IMMessageTarget> getDefaultTargets()
getDefaultTargets
in interface hudson.plugins.im.IMPublisherDescriptor
public hudson.plugins.im.config.ParameterNames getParamNames()
getParamNames
in interface hudson.plugins.im.IMPublisherDescriptor
Copyright © 2004–2014. All rights reserved.