hudson.plugins.ircbot
Class IrcPublisher.DescriptorImpl

java.lang.Object
  extended by hudson.model.Descriptor<T>
      extended by hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
          extended by hudson.plugins.ircbot.IrcPublisher.DescriptorImpl
All Implemented Interfaces:
hudson.model.Saveable, hudson.plugins.im.IMPublisherDescriptor
Enclosing class:
IrcPublisher

public static final class IrcPublisher.DescriptorImpl
extends hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>
implements hudson.plugins.im.IMPublisherDescriptor

Descriptor for IrcPublisher


Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.model.Descriptor
hudson.model.Descriptor.FormException, hudson.model.Descriptor.PropertyType
 
Field Summary
static java.lang.String PARAMETERNAME_HUDSON_LOGIN
           
static java.lang.String PARAMETERNAME_HUDSON_PASSWORD
           
static java.lang.String PARAMETERNAME_NICKSERV_PASSWORD
           
static java.lang.String PARAMETERNAME_NOTIFY_CULPRITS
           
static java.lang.String PARAMETERNAME_NOTIFY_FIXERS
           
static java.lang.String PARAMETERNAME_NOTIFY_START
           
static java.lang.String PARAMETERNAME_NOTIFY_SUSPECTS
           
static java.lang.String PARAMETERNAME_NOTIFY_UPSTREAM_COMMITTERS
           
static java.lang.String PARAMETERNAME_STRATEGY
           
static java.lang.String PARAMETERNAME_USE_NOTICE
           
static java.lang.String PARAMETERVALUE_STRATEGY_DEFAULT
           
static java.lang.String[] PARAMETERVALUE_STRATEGY_VALUES
           
 
Fields inherited from class hudson.model.Descriptor
clazz
 
Fields inherited from interface hudson.model.Saveable
NOOP
 
Method Summary
 boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 java.lang.String getCommandPrefix()
           
 java.lang.String getDefaultIdSuffix()
           
 java.util.List<hudson.plugins.im.IMMessageTarget> getDefaultTargets()
           
 java.lang.String getDisplayName()
           
 java.lang.String getHelpFile()
           
 java.lang.String getHost()
           
 java.lang.String getHostname()
           
 java.lang.String getHudsonPassword()
           
 java.lang.String getHudsonUserName()
           
 hudson.plugins.im.IMMessageTargetConverter getIMMessageTargetConverter()
           
 java.lang.String getNick()
          Returns the nickname that should be used to identify against the IRC server.
 java.lang.String getNickServPassword()
          Returns the password that should be used to try and identify with NickServ.
 java.lang.String getPassword()
           
 java.lang.String getPluginDescription()
           
 int getPort()
           
 java.lang.String getUserName()
           
 boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
           
 boolean isEnabled()
           
 boolean isExposePresence()
           
 boolean isUseNotice()
          Specifies if the bot should use the /notice command instead of the /msg command to notify.
 hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
           
 
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, getJsonSafeClassName, getPropertyType, getViewPage, isInstance, isSubTypeOf, 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
 

Field Detail

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_CULPRITS

public static final java.lang.String PARAMETERNAME_NOTIFY_CULPRITS
See Also:
Constant Field Values

PARAMETERNAME_NOTIFY_FIXERS

public static final java.lang.String PARAMETERNAME_NOTIFY_FIXERS
See Also:
Constant Field Values

PARAMETERNAME_NOTIFY_UPSTREAM_COMMITTERS

public static final java.lang.String PARAMETERNAME_NOTIFY_UPSTREAM_COMMITTERS
See Also:
Constant Field Values

PARAMETERVALUE_STRATEGY_DEFAULT

public static final java.lang.String PARAMETERVALUE_STRATEGY_DEFAULT

PARAMETERVALUE_STRATEGY_VALUES

public static final java.lang.String[] PARAMETERVALUE_STRATEGY_VALUES

PARAMETERNAME_HUDSON_LOGIN

public static final java.lang.String PARAMETERNAME_HUDSON_LOGIN
See Also:
Constant Field Values

PARAMETERNAME_HUDSON_PASSWORD

public static final java.lang.String PARAMETERNAME_HUDSON_PASSWORD
See Also:
Constant Field Values

PARAMETERNAME_USE_NOTICE

public static final java.lang.String PARAMETERNAME_USE_NOTICE
See Also:
Constant Field Values

PARAMETERNAME_NICKSERV_PASSWORD

public static final java.lang.String PARAMETERNAME_NICKSERV_PASSWORD
See Also:
Constant Field Values
Method Detail

configure

public boolean configure(org.kohsuke.stapler.StaplerRequest req,
                         net.sf.json.JSONObject formData)
                  throws hudson.model.Descriptor.FormException
Overrides:
configure in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException
See Also:
Descriptor.configure(org.kohsuke.stapler.StaplerRequest)

getDisplayName

public java.lang.String getDisplayName()
Specified by:
getDisplayName in class hudson.model.Descriptor<hudson.tasks.Publisher>
See Also:
Descriptor.getDisplayName()

getHelpFile

public java.lang.String getHelpFile()
Overrides:
getHelpFile in class hudson.model.Descriptor<hudson.tasks.Publisher>
See Also:
Descriptor.getHelpFile()

newInstance

public hudson.tasks.Publisher newInstance(org.kohsuke.stapler.StaplerRequest req,
                                          net.sf.json.JSONObject formData)
                                   throws hudson.model.Descriptor.FormException
Overrides:
newInstance in class hudson.model.Descriptor<hudson.tasks.Publisher>
Throws:
hudson.model.Descriptor.FormException
See Also:
Descriptor.newInstance(org.kohsuke.stapler.StaplerRequest)

isApplicable

public boolean isApplicable(java.lang.Class<? extends hudson.model.AbstractProject> jobType)
Specified by:
isApplicable in class hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher>

getCommandPrefix

public java.lang.String getCommandPrefix()
Specified by:
getCommandPrefix in interface hudson.plugins.im.IMPublisherDescriptor
Returns:
the commandPrefix

getHostname

public java.lang.String getHostname()
Specified by:
getHostname in interface hudson.plugins.im.IMPublisherDescriptor
Returns:
the hostname

getNick

public java.lang.String getNick()
Returns the nickname that should be used to identify against the IRC server.

Returns:
the nick

getNickServPassword

public java.lang.String getNickServPassword()
Returns the password that should be used to try and identify with NickServ.


getPassword

public java.lang.String getPassword()
Specified by:
getPassword in interface hudson.plugins.im.IMPublisherDescriptor

getPort

public int getPort()
Specified by:
getPort in interface hudson.plugins.im.IMPublisherDescriptor

isEnabled

public boolean isEnabled()
Specified by:
isEnabled in interface hudson.plugins.im.IMPublisherDescriptor

getDefaultIdSuffix

public java.lang.String getDefaultIdSuffix()
Specified by:
getDefaultIdSuffix in interface hudson.plugins.im.IMPublisherDescriptor

getHost

public java.lang.String getHost()
Specified by:
getHost in interface hudson.plugins.im.IMPublisherDescriptor

getHudsonUserName

public java.lang.String getHudsonUserName()
Specified by:
getHudsonUserName in interface hudson.plugins.im.IMPublisherDescriptor

getHudsonPassword

public java.lang.String getHudsonPassword()
Specified by:
getHudsonPassword in interface hudson.plugins.im.IMPublisherDescriptor

getPluginDescription

public java.lang.String getPluginDescription()
Specified by:
getPluginDescription in interface hudson.plugins.im.IMPublisherDescriptor

getUserName

public java.lang.String getUserName()
Specified by:
getUserName in interface hudson.plugins.im.IMPublisherDescriptor

isExposePresence

public boolean isExposePresence()
Specified by:
isExposePresence in interface hudson.plugins.im.IMPublisherDescriptor

getDefaultTargets

public java.util.List<hudson.plugins.im.IMMessageTarget> getDefaultTargets()
Specified by:
getDefaultTargets in interface hudson.plugins.im.IMPublisherDescriptor

getIMMessageTargetConverter

public hudson.plugins.im.IMMessageTargetConverter getIMMessageTargetConverter()
Specified by:
getIMMessageTargetConverter in interface hudson.plugins.im.IMPublisherDescriptor

isUseNotice

public boolean isUseNotice()
Specifies if the bot should use the /notice command instead of the /msg command to notify.



Copyright © 2011. All Rights Reserved.