hudson.plugins.jabber.im
Class IMPublisher

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

public abstract class IMPublisher
extends hudson.tasks.Publisher

The actual Publisher that sends notification-Messages out to the clients.

Author:
Uwe Schaefer

Nested Class Summary
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
protected IMPublisher(java.lang.String targetsAsString)
           
 
Method Summary
protected abstract  IMConnection getIMConnection()
           
protected  IMMessageTargetConverter getIMMessageTargetConverter()
           
protected  NotificationStrategy getNotificationStrategy()
           
 java.lang.String getTargets()
           
 boolean perform(hudson.model.Build build, hudson.Launcher arg1, hudson.model.BuildListener arg2)
           
 
Methods inherited from class hudson.tasks.Publisher
getProjectAction, prebuild
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface hudson.model.Describable
getDescriptor
 

Constructor Detail

IMPublisher

protected IMPublisher(java.lang.String targetsAsString)
               throws IMMessageTargetConversionException
Throws:
IMMessageTargetConversionException
Method Detail

getIMConnection

protected abstract IMConnection getIMConnection()
                                         throws IMException
Throws:
IMException

getIMMessageTargetConverter

protected IMMessageTargetConverter getIMMessageTargetConverter()

getNotificationStrategy

protected NotificationStrategy getNotificationStrategy()

getTargets

public final java.lang.String getTargets()

perform

public boolean perform(hudson.model.Build build,
                       hudson.Launcher arg1,
                       hudson.model.BuildListener arg2)
                throws java.lang.InterruptedException,
                       java.io.IOException
Throws:
java.lang.InterruptedException
java.io.IOException


Copyright © 2007. All Rights Reserved.