|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.im.build_notify.BuildToChatNotifier
public abstract class BuildToChatNotifier
Controls the exact messages to be sent to a chat upon start/completion of a build.
| Constructor Summary | |
|---|---|
BuildToChatNotifier()
|
|
| Method Summary | |
|---|---|
static hudson.DescriptorExtensionList<BuildToChatNotifier,BuildToChatNotifierDescriptor> |
all()
All the registered BuildToChatNotifier types. |
abstract 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. |
abstract 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. |
java.lang.String |
culpritMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Calculates the message to send out to a 'culprit' of a broken build. |
java.lang.String |
fixerMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
Calculates the message to send out to a committer of a fixed build. |
BuildToChatNotifierDescriptor |
getDescriptor()
|
java.lang.String |
suspectMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
boolean firstFailure)
Calculates the message to send out to a committer of a broken build. |
java.lang.String |
upstreamCommitterMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
hudson.model.AbstractBuild<?,?> upstreamBuild)
Calculates the message to send out to a committer of an upstream build if this build is broken. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public BuildToChatNotifier()
| Method Detail |
|---|
public abstract java.lang.String buildStartMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
java.io.IOException
java.lang.InterruptedException
public abstract java.lang.String buildCompletionMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
throws java.io.IOException,
java.lang.InterruptedException
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
java.io.IOException
java.lang.InterruptedException
public java.lang.String suspectMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
boolean firstFailure)
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
public java.lang.String culpritMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
public java.lang.String fixerMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.
public java.lang.String upstreamCommitterMessage(IMPublisher publisher,
hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener,
hudson.model.AbstractBuild<?,?> upstreamBuild)
publisher - The publisher that's driving this. Never null.build - The build that just completed. Never null.listener - Any errors can be reported here.upstreamBuild - The upstream buildpublic BuildToChatNotifierDescriptor getDescriptor()
getDescriptor in interface hudson.model.Describable<BuildToChatNotifier>public static hudson.DescriptorExtensionList<BuildToChatNotifier,BuildToChatNotifierDescriptor> all()
BuildToChatNotifier types.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||