hudson.plugins.im.build_notify
Class SummaryOnlyBuildToChatNotifier
java.lang.Object
hudson.plugins.im.build_notify.BuildToChatNotifier
hudson.plugins.im.build_notify.SummaryOnlyBuildToChatNotifier
- All Implemented Interfaces:
- hudson.model.Describable<BuildToChatNotifier>
- Direct Known Subclasses:
- DefaultBuildToChatNotifier
public class SummaryOnlyBuildToChatNotifier
- extends BuildToChatNotifier
BuildToChatNotifier that sends out a brief one line summary.
- Author:
- Kohsuke Kawaguchi
|
Method Summary |
java.lang.String |
buildCompletionMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Calculates the message to send out to a chat when the specified build is completed. |
java.lang.String |
buildStartMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Calculates the message to send out to a chat when the specified build is started. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SummaryOnlyBuildToChatNotifier
@DataBoundConstructor
public SummaryOnlyBuildToChatNotifier()
buildStartMessage
public java.lang.String buildStartMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from class:
BuildToChatNotifier
- Calculates the message to send out to a chat when the specified build is started.
- Specified by:
buildStartMessage in class BuildToChatNotifier
- Parameters:
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
- Throws:
java.io.IOException
java.lang.InterruptedException
buildCompletionMessage
public java.lang.String buildCompletionMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
- Description copied from class:
BuildToChatNotifier
- Calculates the message to send out to a chat when the specified build is completed.
- Specified by:
buildCompletionMessage in class BuildToChatNotifier
- Parameters:
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
- Throws:
java.io.IOException
java.lang.InterruptedException
Copyright © 2010. All Rights Reserved.