hudson.plugins.ircbot
Class IrcPublisher

java.lang.Object
  extended by hudson.tasks.Publisher
      extended by hudson.plugins.im.IMPublisher<IrcPublisher>
          extended by hudson.plugins.ircbot.IrcPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class IrcPublisher
extends IMPublisher<IrcPublisher>

Version:
$Id: IrcPublisher.java,v 1.7 2007/03/26 09:48:04 bruyeron Exp $
Author:
bruyeron

Nested Class Summary
static class IrcPublisher.DescriptorImpl
          Descriptor for IrcPublisher
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 java.util.List<java.lang.String> channels
          channels to notify with build status If not empty, this replaces the main channels defined at the descriptor level.
static IrcPublisher.DescriptorImpl DESCRIPTOR
          Descriptor should be singleton.
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
IrcPublisher()
           
 
Method Summary
 java.lang.String getChannels()
          For the UI redisplay
 hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
           
protected  void reportFailure(hudson.model.Build build)
           
protected  void reportSuccess(hudson.model.Build build)
           
protected  void reportUnstability(hudson.model.Build build)
           
 
Methods inherited from class hudson.plugins.im.IMPublisher
perform
 
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
 

Field Detail

DESCRIPTOR

public static final IrcPublisher.DescriptorImpl DESCRIPTOR
Descriptor should be singleton.


channels

public java.util.List<java.lang.String> channels
channels to notify with build status If not empty, this replaces the main channels defined at the descriptor level.

Constructor Detail

IrcPublisher

public IrcPublisher()
Method Detail

reportFailure

protected void reportFailure(hudson.model.Build build)
Specified by:
reportFailure in class IMPublisher<IrcPublisher>
See Also:
IMPublisher.reportFailure(hudson.model.Build)

reportSuccess

protected void reportSuccess(hudson.model.Build build)
Specified by:
reportSuccess in class IMPublisher<IrcPublisher>
See Also:
IMPublisher.reportSuccess(hudson.model.Build)

reportUnstability

protected void reportUnstability(hudson.model.Build build)
Specified by:
reportUnstability in class IMPublisher<IrcPublisher>
See Also:
IMPublisher.reportUnstability(hudson.model.Build)

getChannels

public java.lang.String getChannels()
For the UI redisplay

Returns:

getDescriptor

public hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
See Also:
Describable.getDescriptor()


Copyright © 2007. All Rights Reserved.