public class SametimePublisherDescriptor
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
Describable
object, and also serves as a factory.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_COMMAND_PREFIX
DEFAULT_COMMAND_PREFIX
|
static String |
PARAMETERNAME_COMMAND_PREFIX
Name for the COMMAND_PREFIX parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_HOSTNAME
Name for the HOSTNAME parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_INITIAL_GROUPCHATS
Name for the INITIAL_GROUPCHATS parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_NICKNAME
Name for the NICKNAME parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_NOTIFY_FIXERS
Name for the NOTIFY_FIXERS parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_NOTIFY_START
Name for the NOTIFY_START parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_NOTIFY_SUSPECTS
Name for the NOTIFY_SUSPECTS parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_PASSWORD
Name for the PASSWORD parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_PORT
Name for the PORT parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_PRESENCE
Name for the PRESENCE parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_STRATEGY
Name for the STRATEGY parameter, as it appears in the jelly scripts
|
static String |
PARAMETERNAME_TARGETS
Name for the TARGETS parameter, as it appears in the jelly scripts
|
static String |
PARAMETERVALUE_STRATEGY_ALL
Default value for the STRATEGY_ALL parameter
|
static String |
PARAMETERVALUE_STRATEGY_DEFAULT
Default value for the STRATEGY_DEFAULT parameter
|
static String |
PARAMETERVALUE_STRATEGY_FAILURE
Default value for the STRATEGY_FAILURE parameter
|
static String |
PARAMETERVALUE_STRATEGY_STATE_CHANGE
Default value for the STRATEGY_STATE_CHANGE parameter
|
static String[] |
PARAMETERVALUE_STRATEGY_VALUES
Default value for the STRATEGY_VALUES parameter
|
| Constructor and Description |
|---|
SametimePublisherDescriptor()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData) |
hudson.util.FormValidation |
doServerCheck(String value)
Validates the server name.
|
String |
getCommandPrefix()
Accessor for the prefix used in sending commands.
|
String |
getDisplayName()
This human readable name is used in the configuration screen.
|
String |
getHostname()
Getter method for the hostname field.
|
String |
getHudsonNickname()
Getter method for the hudsonNickname field.
|
String |
getHudsonPassword()
Getter method for the hudsonPassword field.
|
String |
getInitialGroupChats()
Gets the whitespace separated list of group chats to join,
or null if nothing is configured.
|
int |
getPort()
Getter method for the port field.
|
String |
getPortString()
Returns the text to be put into the form field.
|
boolean |
isApplicable(Class<? extends hudson.model.AbstractProject> jobType) |
boolean |
isExposePresence()
Whether to show up on Sametime as accessible.
|
SametimePublisher |
newInstance(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
Creates a new instance of
SametimePublisher from a submitted form. |
void |
shutdown()
Shuts down the connection etc.
|
addHelpFileRedirect, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, getCheckUrl, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMappublic static final String PARAMETERNAME_PORT
public static final String PARAMETERNAME_HOSTNAME
public static final String PARAMETERNAME_PRESENCE
public static final String PARAMETERNAME_PASSWORD
public static final String PARAMETERNAME_NICKNAME
public static final String PARAMETERNAME_TARGETS
public static final String PARAMETERNAME_STRATEGY
public static final String PARAMETERNAME_NOTIFY_START
public static final String PARAMETERNAME_NOTIFY_SUSPECTS
public static final String PARAMETERNAME_NOTIFY_FIXERS
public static final String PARAMETERNAME_INITIAL_GROUPCHATS
public static final String PARAMETERNAME_COMMAND_PREFIX
public static final String PARAMETERVALUE_STRATEGY_ALL
public static final String PARAMETERVALUE_STRATEGY_FAILURE
public static final String PARAMETERVALUE_STRATEGY_STATE_CHANGE
public static final String[] PARAMETERVALUE_STRATEGY_VALUES
public static final String PARAMETERVALUE_STRATEGY_DEFAULT
public static final String DEFAULT_COMMAND_PREFIX
public String getDisplayName()
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>public String getPortString()
public boolean isExposePresence()
true or falsepublic String getInitialGroupChats()
public String getCommandPrefix()
public boolean isApplicable(Class<? extends hudson.model.AbstractProject> jobType)
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>public SametimePublisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws hudson.model.Descriptor.FormException
SametimePublisher from a submitted form.newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic void shutdown()
public boolean configure(org.kohsuke.stapler.StaplerRequest req,
net.sf.json.JSONObject formData)
throws hudson.model.Descriptor.FormException
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>hudson.model.Descriptor.FormExceptionpublic hudson.util.FormValidation doServerCheck(@QueryParameter
String value)
req - The Stapler requestrsp - The responseIOExceptionjavax.servlet.ServletExceptionpublic int getPort()
public String getHostname()
public String getHudsonNickname()
public String getHudsonPassword()
Copyright © 2004-2013. All Rights Reserved.