hudson.tasks
Class Notifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Notifier
- All Implemented Interfaces:
- ExtensionPoint, Describable<Publisher>, BuildStep
public abstract class Notifier
- extends Publisher
- implements ExtensionPoint
BuildStep
s that run after the build is completed.
Notifier
is a kind of Publisher
that sends out the outcome of the builds to
other systems and humans. This marking ensures that notifiers are run after the build result
is set to its final value by other Recorder
s. To run even after the build is marked
as complete, override Publisher.needsToRunAfterFinalized()
to return true.
To register a custom Publisher
from a plugin,
put Extension
on your descriptor.
- Since:
- 1.286
- Author:
- Kohsuke Kawaguchi
- See Also:
Recorder
Constructor Summary |
protected |
Notifier()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Notifier
protected Notifier()
getDescriptor
public BuildStepDescriptor getDescriptor()
- Description copied from interface:
Describable
- Gets the descriptor for this instance.
Descriptor
is a singleton for every concrete Describable
implementation, so if a.getClass()==b.getClass() then
a.getDescriptor()==b.getDescriptor() must hold.
- Specified by:
getDescriptor
in interface Describable<Publisher>
- Overrides:
getDescriptor
in class Publisher
Copyright © 2004-2013. All Rights Reserved.