com.chikli.hudson.plugin.naginator
Class NaginatorPublisher
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
com.chikli.hudson.plugin.naginator.NaginatorPublisher
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class NaginatorPublisher
- extends hudson.tasks.Publisher
When the user configures the project and enables this builder,
NaginatorPublisher.DescriptorImpl.newInstance(StaplerRequest) is invoked
and a new NaginatorPublisher is created. The created
instance is persisted to the project configuration XML by using
XStream, so this allows you to use instance fields (like #name)
to remember the configuration.
When a build is performed, the perform(Build, Launcher, BuildListener) method
will be invoked.
- Author:
- Nayan Hajratwala
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Method Summary |
hudson.model.Descriptor<hudson.tasks.Publisher> |
getDescriptor()
|
boolean |
perform(hudson.model.Build build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
|
| Methods inherited from class hudson.tasks.Publisher |
getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, perform, prebuild |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, perform, prebuild |
DESCRIPTOR
public static final NaginatorPublisher.DescriptorImpl DESCRIPTOR
- Descriptor should be singleton.
perform
public boolean perform(hudson.model.Build build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
getDescriptor
public hudson.model.Descriptor<hudson.tasks.Publisher> getDescriptor()
Copyright © 2008. All Rights Reserved.