|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.jabber.im.transport.JabberPublisherDescriptor
public class JabberPublisherDescriptor
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
|---|
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType |
| Fields inherited from class hudson.model.Descriptor |
|---|
clazz |
| Fields inherited from interface hudson.plugins.im.IMPublisherDescriptor |
|---|
PARAMETERNAME_HUDSON_LOGIN, PARAMETERNAME_NOTIFY_CULPRITS, PARAMETERNAME_NOTIFY_FIXERS, PARAMETERNAME_NOTIFY_START, PARAMETERNAME_NOTIFY_SUSPECTS, PARAMETERNAME_NOTIFY_UPSTREAM_COMMITTERS, PARAMETERNAME_STRATEGY |
| Fields inherited from interface hudson.model.Saveable |
|---|
NOOP |
| Constructor Summary | |
|---|---|
JabberPublisherDescriptor()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
|---|
filter |
| Methods inherited from class hudson.model.Descriptor |
|---|
calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigFile, getConfigPage, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getPropertyType, getPropertyType, getViewPage, isInstance, isSubTypeOf, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
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_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
| Constructor Detail |
|---|
public JabberPublisherDescriptor()
| Method Detail |
|---|
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.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.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.IMPublisherDescriptor
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||