public class CukedoctorPublisher
extends hudson.tasks.Recorder
implements jenkins.tasks.SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
CukedoctorPublisher.DescriptorImpl |
hudson.tasks.Publisher.DescriptorExtensionListImpljenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory| Constructor and Description |
|---|
CukedoctorPublisher(String featuresDir,
FormatType format,
TocType toc,
boolean numbered,
boolean sectAnchors,
String title) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
generateDocumentation(List<com.github.cukedoctor.api.model.Feature> features,
com.github.cukedoctor.api.DocumentAttributes attrs,
String outputPath,
org.asciidoctor.Asciidoctor asciidoctor) |
String |
getFeaturesDir() |
FormatType |
getFormat() |
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
String |
getTitle() |
TocType |
getToc() |
boolean |
isNumbered() |
boolean |
isSectAnchors() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener) |
all, getProjectAction, needsToRunAfterFinalized, prebuildgetProjectActions, perform, perform, prebuild@DataBoundConstructor public CukedoctorPublisher(String featuresDir, FormatType format, TocType toc, boolean numbered, boolean sectAnchors, String title)
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction in interface hudson.tasks.BuildStepgetProjectAction in class hudson.tasks.BuildStepCompatibilityLayerpublic void perform(hudson.model.Run<?,?> build,
hudson.FilePath workspace,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
perform in interface jenkins.tasks.SimpleBuildStepIOExceptionInterruptedExceptionprotected void generateDocumentation(List<com.github.cukedoctor.api.model.Feature> features, com.github.cukedoctor.api.DocumentAttributes attrs, String outputPath, org.asciidoctor.Asciidoctor asciidoctor)
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService in interface hudson.tasks.BuildSteppublic String getFeaturesDir()
public boolean isNumbered()
public boolean isSectAnchors()
public TocType getToc()
public FormatType getFormat()
public String getTitle()
Copyright © 2016. All rights reserved.