hudson.plugins.jabber.im.transport
Class JabberPublisherDescriptor
java.lang.Object
hudson.model.Descriptor<hudson.tasks.Publisher>
hudson.plugins.jabber.im.transport.JabberPublisherDescriptor
- All Implemented Interfaces:
- hudson.model.Saveable
public class JabberPublisherDescriptor
- extends hudson.model.Descriptor<hudson.tasks.Publisher>
| Nested classes/interfaces inherited from class hudson.model.Descriptor |
hudson.model.Descriptor.FormException |
| Fields inherited from class hudson.model.Descriptor |
ALL, clazz |
| Methods inherited from class hudson.model.Descriptor |
configure, configure, convert, find, getCheckUrl, getConfigPage, getGlobalConfigPage, getHelpFile, getJsonSafeClassName, 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
PARAMETERVALUE_STRATEGY_ALL
public static final java.lang.String PARAMETERVALUE_STRATEGY_ALL
- See Also:
- Constant Field Values
PARAMETERVALUE_STRATEGY_FAILURE
public static final java.lang.String PARAMETERVALUE_STRATEGY_FAILURE
- See Also:
- Constant Field Values
PARAMETERVALUE_STRATEGY_STATE_CHANGE
public static final java.lang.String PARAMETERVALUE_STRATEGY_STATE_CHANGE
- 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
- See Also:
- Constant Field Values
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.
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)
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
Copyright © 2008. All Rights Reserved.