Package hudson.plugins.doclinks
Class DocLinksPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- hudson.plugins.doclinks.DocLinksPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
public class DocLinksPublisher extends Recorder
Saves documents which are created in build step.- Author:
- Seiji Sogabe
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DocLinksPublisher.DocLinksDescriptor
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description static BuildStepDescriptor<Publisher>
DESCRIPTOR
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description DocLinksPublisher(List<Document> docs)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description BuildStepDescriptor<Publisher>
getDescriptor()
static File
getDocLinksDir(AbstractItem project)
List<Document>
getDocuments()
for config.jellyAction
getProjectAction(AbstractProject<?,?> project)
BuildStepMonitor
getRequiredMonitorService()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectActions, perform, prebuild
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final BuildStepDescriptor<Publisher> DESCRIPTOR
-
-
Method Detail
-
getDocLinksDir
public static File getDocLinksDir(AbstractItem project)
-
getDescriptor
public BuildStepDescriptor<Publisher> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
getProjectAction
public Action getProjectAction(AbstractProject<?,?> project)
- Specified by:
getProjectAction
in interfaceBuildStep
- Overrides:
getProjectAction
in classBuildStepCompatibilityLayer
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
-