Package io.jenkins.plugins.report.jtreg
Class AbstractReportPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- io.jenkins.plugins.report.jtreg.AbstractReportPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
- Direct Known Subclasses:
JckReportPublisher
,JtregReportPublisher
public abstract class AbstractReportPublisher extends Recorder
-
-
Nested Class Summary
-
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 inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description AbstractReportPublisher(String reportFileGlob)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract io.jenkins.plugins.report.jtreg.parsers.ReportParser
createReportParser()
protected abstract String
defaultReportFileGlob()
int
getIntMaxBuilds()
String
getMaxBuilds()
int
getRangeAroundAlist()
String
getReportFileGlob()
BuildStepMonitor
getRequiredMonitorService()
String
getResultsAllowList()
String
getResultsDenyList()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
protected abstract String
prefix()
void
setMaxBuilds(String maxBuilds)
void
setRangeAroundAlist(int rangeAroundAlist)
void
setReportFileGlob(String reportFileGlob)
void
setResultsAllowList(String resultsAllowList)
void
setResultsDenyList(String resultsDenyList)
-
Methods inherited from class hudson.tasks.Recorder
getDescriptor
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
AbstractReportPublisher
public AbstractReportPublisher(String reportFileGlob)
-
-
Method Detail
-
defaultReportFileGlob
protected abstract String defaultReportFileGlob()
-
createReportParser
protected abstract io.jenkins.plugins.report.jtreg.parsers.ReportParser createReportParser()
-
prefix
protected abstract String prefix()
-
perform
public final boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
-
getRequiredMonitorService
public final BuildStepMonitor getRequiredMonitorService()
-
setReportFileGlob
@DataBoundSetter public void setReportFileGlob(String reportFileGlob)
-
getReportFileGlob
public String getReportFileGlob()
-
setResultsDenyList
@DataBoundSetter public void setResultsDenyList(String resultsDenyList)
-
getResultsDenyList
public String getResultsDenyList()
-
setMaxBuilds
@DataBoundSetter public void setMaxBuilds(String maxBuilds)
-
getMaxBuilds
public String getMaxBuilds()
-
getIntMaxBuilds
public int getIntMaxBuilds()
-
getResultsAllowList
public String getResultsAllowList()
-
setResultsAllowList
@DataBoundSetter public void setResultsAllowList(String resultsAllowList)
-
getRangeAroundAlist
public int getRangeAroundAlist()
-
setRangeAroundAlist
@DataBoundSetter public void setRangeAroundAlist(int rangeAroundAlist)
-
-