hudson.tasks
Class Recorder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
- All Implemented Interfaces:
- ExtensionPoint, Describable<Publisher>, BuildStep
- Direct Known Subclasses:
- AggregatedTestResultPublisher, ArtifactArchiver, BuildTrigger, Fingerprinter, JUnitResultArchiver, MavenTestDataPublisher, RedeployPublisher
public abstract class Recorder
- extends Publisher
- implements ExtensionPoint
BuildStep
s that run after the build is completed.
Recorder
is a kind of Publisher
that collects statistics from the build,
and can mark builds as unstable/failure. This marking ensures that builds are marked accordingly
before notifications are sent via Notifier
s. Otherwise, if the build is marked failed
after some notifications are sent, inconsistency ensues.
To register a custom Publisher
from a plugin,
put Extension
on your descriptor.
- Since:
- 1.286
- Author:
- Kohsuke Kawaguchi
- See Also:
Notifier
Constructor Summary |
protected |
Recorder()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Recorder
protected Recorder()
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.