hudson.plugins.jabber.im.transport
Class JabberPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Notifier
              extended by hudson.plugins.jabber.im.IMPublisher
                  extended by hudson.plugins.jabber.im.transport.JabberPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class JabberPublisher
extends IMPublisher

Jabber-specific implementation of the Publisher.

Author:
Uwe Schaefer

Nested Class Summary
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static JabberPublisherDescriptor DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
JabberPublisher(java.lang.String targetsAsString, java.lang.String notificationStrategy, boolean notifyGroupChatsOnBuildStart, boolean notifySuspects, boolean notifyCulprits, boolean notifyFixers)
           
 
Method Summary
 hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
           
protected  IMConnection getIMConnection()
           
protected  IMMessageTargetConverter getIMMessageTargetConverter()
           
protected  java.lang.String getPluginName()
          Returns a short name of the plugin to be used e.g.
 
Methods inherited from class hudson.plugins.jabber.im.IMPublisher
getNotificationStrategy, getNotifyCulprits, getNotifyFixers, getNotifyOnStart, getNotifySuspects, getStrategy, getTargets, log, perform, prebuild
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, perform
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction
 

Field Detail

DESCRIPTOR

@Extension
public static final JabberPublisherDescriptor DESCRIPTOR
Constructor Detail

JabberPublisher

public JabberPublisher(java.lang.String targetsAsString,
                       java.lang.String notificationStrategy,
                       boolean notifyGroupChatsOnBuildStart,
                       boolean notifySuspects,
                       boolean notifyCulprits,
                       boolean notifyFixers)
                throws IMMessageTargetConversionException
Throws:
IMMessageTargetConversionException
Method Detail

getDescriptor

public hudson.tasks.BuildStepDescriptor<hudson.tasks.Publisher> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Specified by:
getDescriptor in class IMPublisher

getIMConnection

protected IMConnection getIMConnection()
                                throws IMException
Specified by:
getIMConnection in class IMPublisher
Throws:
IMException

getIMMessageTargetConverter

protected IMMessageTargetConverter getIMMessageTargetConverter()
Overrides:
getIMMessageTargetConverter in class IMPublisher

getPluginName

protected java.lang.String getPluginName()
Description copied from class: IMPublisher
Returns a short name of the plugin to be used e.g. in log messages.

Specified by:
getPluginName in class IMPublisher


Copyright © 2009. All Rights Reserved.