Class JabberPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- hudson.plugins.im.IMPublisher
-
- hudson.plugins.jabber.im.transport.JabberPublisher
-
- All Implemented Interfaces:
hudson.ExtensionPoint
,hudson.matrix.MatrixAggregatable
,hudson.model.Describable<hudson.tasks.Publisher>
,hudson.tasks.BuildStep
public class JabberPublisher extends hudson.plugins.im.IMPublisher
Jabber-specific implementation of theIMPublisher
.
-
-
Field Summary
Fields Modifier and Type Field Description static JabberPublisherDescriptor
DESCRIPTOR
-
Constructor Summary
Constructors Constructor Description JabberPublisher(java.util.List<hudson.plugins.im.IMMessageTarget> targets, java.lang.String notificationStrategy, boolean notifyGroupChatsOnBuildStart, boolean notifySuspects, boolean notifyCulprits, boolean notifyFixers, boolean notifyUpstreamCommitters, hudson.plugins.im.build_notify.BuildToChatNotifier buildToChatNotifier, hudson.plugins.im.MatrixJobMultiplier matrixJobMultiplier)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getConfiguredIMId(hudson.model.User user)
JabberPublisherDescriptor
getDescriptor()
protected hudson.plugins.im.IMConnection
getIMConnection()
protected java.lang.String
getPluginName()
java.lang.String
getTargets()
protected java.lang.Object
readResolve()
-
Methods inherited from class hudson.plugins.im.IMPublisher
calculateTargets, createAggregator, getBuildToChatNotifier, getCustomMessage, getExtraMessage, getIMDescriptor, getMatrixNotifier, getNotificationStrategy, getNotificationTargets, getNotifyCulprits, getNotifyFixers, getNotifyOnStart, getNotifySuspects, getNotifyUpstreamCommitters, getRequiredMonitorService, getStrategy, isMatrixProject, log, needsToRunAfterFinalized, perform, perform, prebuild, setCustomMessage, setExtraMessage, setMatrixNotifier, setNotificationStrategy, setNotificationTargets, setTargets
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final JabberPublisherDescriptor DESCRIPTOR
-
-
Constructor Detail
-
JabberPublisher
public JabberPublisher(java.util.List<hudson.plugins.im.IMMessageTarget> targets, java.lang.String notificationStrategy, boolean notifyGroupChatsOnBuildStart, boolean notifySuspects, boolean notifyCulprits, boolean notifyFixers, boolean notifyUpstreamCommitters, hudson.plugins.im.build_notify.BuildToChatNotifier buildToChatNotifier, hudson.plugins.im.MatrixJobMultiplier matrixJobMultiplier) throws hudson.plugins.im.IMMessageTargetConversionException
- Throws:
hudson.plugins.im.IMMessageTargetConversionException
-
-
Method Detail
-
getDescriptor
public JabberPublisherDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfacehudson.model.Describable<hudson.tasks.Publisher>
- Specified by:
getDescriptor
in classhudson.plugins.im.IMPublisher
-
getIMConnection
protected hudson.plugins.im.IMConnection getIMConnection() throws hudson.plugins.im.IMException
- Specified by:
getIMConnection
in classhudson.plugins.im.IMPublisher
- Throws:
hudson.plugins.im.IMException
-
getPluginName
protected java.lang.String getPluginName()
- Specified by:
getPluginName
in classhudson.plugins.im.IMPublisher
-
getConfiguredIMId
protected java.lang.String getConfiguredIMId(hudson.model.User user)
- Specified by:
getConfiguredIMId
in classhudson.plugins.im.IMPublisher
-
getTargets
public java.lang.String getTargets()
- Overrides:
getTargets
in classhudson.plugins.im.IMPublisher
-
readResolve
protected java.lang.Object readResolve()
- Overrides:
readResolve
in classhudson.plugins.im.IMPublisher
-
-