hudson.plugins.jabber.im
Class IMPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
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.Notifier
- implements hudson.tasks.BuildStep
The actual Publisher that sends notification-Messages out to the clients.
- Author:
- Uwe Schaefer
| 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 |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
protected |
IMPublisher(java.lang.String targetsAsString,
java.lang.String notificationStrategyString,
boolean notifyGroupChatsOnBuildStart,
boolean notifySuspects,
boolean notifyFixers)
|
| Methods inherited from class hudson.tasks.Notifier |
getDescriptor |
| 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 |
IMPublisher
protected IMPublisher(java.lang.String targetsAsString,
java.lang.String notificationStrategyString,
boolean notifyGroupChatsOnBuildStart,
boolean notifySuspects,
boolean notifyFixers)
throws IMMessageTargetConversionException
- Throws:
IMMessageTargetConversionException
getIMConnection
protected abstract IMConnection getIMConnection()
throws IMException
- Throws:
IMException
getIMMessageTargetConverter
protected IMMessageTargetConverter getIMMessageTargetConverter()
getNotificationStrategy
protected NotificationStrategy getNotificationStrategy()
getTargets
public final java.lang.String getTargets()
getStrategy
public final java.lang.String getStrategy()
getNotifyOnStart
public final boolean getNotifyOnStart()
getNotifySuspects
public final boolean getNotifySuspects()
getNotifyFixers
public final boolean getNotifyFixers()
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener buildListener)
throws java.lang.InterruptedException,
java.io.IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
java.lang.InterruptedException
java.io.IOException
prebuild
public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener buildListener)
- Specified by:
prebuild in interface hudson.tasks.BuildStep- Overrides:
prebuild in class hudson.tasks.BuildStepCompatibilityLayer
Copyright © 2009. All Rights Reserved.