hudson.plugins.jabber.im.transport
Class JabberPublisherDescriptor
java.lang.Object
hudson.model.Descriptor<T>
hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
hudson.plugins.jabber.im.transport.JabberPublisherDescriptor
- All Implemented Interfaces:
- hudson.model.Saveable
public class JabberPublisherDescriptor
- extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
| 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.model.Saveable |
NOOP |
| Methods inherited from class hudson.tasks.BuildStepDescriptor |
filter |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, convert, doHelp, find, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getHelpFile, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, load, newInstance, newInstancesFromHeteroList, save, toArray, toList, toMap |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PARAMETERNAME_PORT
public static final java.lang.String PARAMETERNAME_PORT
- See Also:
- Constant Field Values
PARAMETERNAME_HOSTNAME
public static final java.lang.String PARAMETERNAME_HOSTNAME
- See Also:
- Constant Field Values
PARAMETERNAME_SSL
public static final java.lang.String PARAMETERNAME_SSL
- See Also:
- Constant Field Values
PARAMETERNAME_PRESENCE
public static final java.lang.String PARAMETERNAME_PRESENCE
- See Also:
- Constant Field Values
PARAMETERNAME_PASSWORD
public static final java.lang.String PARAMETERNAME_PASSWORD
- See Also:
- Constant Field Values
PARAMETERNAME_NICKNAME
public static final java.lang.String PARAMETERNAME_NICKNAME
- See Also:
- Constant Field Values
PARAMETERNAME_GROUP_NICKNAME
public static final java.lang.String PARAMETERNAME_GROUP_NICKNAME
- See Also:
- Constant Field Values
PARAMETERNAME_TARGETS
public static final java.lang.String PARAMETERNAME_TARGETS
- See Also:
- Constant Field Values
PARAMETERNAME_STRATEGY
public static final java.lang.String PARAMETERNAME_STRATEGY
- See Also:
- Constant Field Values
PARAMETERNAME_NOTIFY_START
public static final java.lang.String PARAMETERNAME_NOTIFY_START
- See Also:
- Constant Field Values
PARAMETERNAME_NOTIFY_SUSPECTS
public static final java.lang.String PARAMETERNAME_NOTIFY_SUSPECTS
- See Also:
- Constant Field Values
PARAMETERNAME_NOTIFY_FIXERS
public static final java.lang.String PARAMETERNAME_NOTIFY_FIXERS
- See Also:
- Constant Field Values
PARAMETERNAME_INITIAL_GROUPCHATS
public static final java.lang.String PARAMETERNAME_INITIAL_GROUPCHATS
- See Also:
- Constant Field Values
PARAMETERNAME_COMMAND_PREFIX
public static final java.lang.String PARAMETERNAME_COMMAND_PREFIX
- See Also:
- Constant Field Values
PARAMETERNAME_DEFAULT_ID_SUFFIX
public static final java.lang.String PARAMETERNAME_DEFAULT_ID_SUFFIX
- See Also:
- Constant Field Values
PARAMETERVALUE_STRATEGY_VALUES
public static final java.lang.String[] PARAMETERVALUE_STRATEGY_VALUES
PARAMETERVALUE_STRATEGY_DEFAULT
public static final java.lang.String PARAMETERVALUE_STRATEGY_DEFAULT
DEFAULT_COMMAND_PREFIX
public static final java.lang.String DEFAULT_COMMAND_PREFIX
- See Also:
- Constant Field Values
JabberPublisherDescriptor
public JabberPublisherDescriptor()
getDisplayName
public java.lang.String getDisplayName()
- This human readable name is used in the configuration screen.
- Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
getHostname
public java.lang.String getHostname()
getHudsonNickname
public java.lang.String getHudsonNickname()
getHudsonPassword
public java.lang.String getHudsonPassword()
getGroupChatNickname
public java.lang.String getGroupChatNickname()
getPort
public int getPort()
getPortString
public java.lang.String getPortString()
- Returns the text to be put into the form field.
If the port is default, leave it empty.
isLegacySSL
public boolean isLegacySSL()
isExposePresence
public boolean isExposePresence()
getInitialGroupChats
public java.lang.String getInitialGroupChats()
- Gets the whitespace separated list of group chats to join,
or null if nothing is configured.
getDefaultIdSuffix
public java.lang.String getDefaultIdSuffix()
getCommandPrefix
public java.lang.String getCommandPrefix()
newInstance
public JabberPublisher newInstance(org.kohsuke.stapler.StaplerRequest req)
throws hudson.model.Descriptor.FormException
- Creates a new instance of
JabberPublisher from a submitted form.
- Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
shutdown
public void shutdown()
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject json)
throws hudson.model.Descriptor.FormException
-
- Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
- Throws:
hudson.model.Descriptor.FormException
doServerCheck
public void doServerCheck(org.kohsuke.stapler.StaplerRequest req,
org.kohsuke.stapler.StaplerResponse rsp)
throws java.io.IOException,
javax.servlet.ServletException
- Validates the server name.
- Throws:
java.io.IOException
javax.servlet.ServletException
isApplicable
public boolean isApplicable(java.lang.Class jobType)
-
- Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Copyright © 2009. All Rights Reserved.