Class ReportRecorder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- io.jenkins.plugins.reporter.steps.ReportRecorder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
public class ReportRecorder extends Recorder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReportRecorder.Descriptor
Descriptor for this step.jelly: defines the context and the UI elements.-
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 ReportRecorder()
Creates a new instance ofReportRecorder
.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ReportRecorder.Descriptor
getDescriptor()
String
getDisplayType()
String
getName()
Provider
getProvider()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
protected Object
readResolve()
Called after de-serialization to retain backward compatibility or to populate new elements (that would be otherwise initialized tonull
).void
setDisplayType(String displayType)
void
setName(String name)
void
setProvider(Provider provider)
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, 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
getRequiredMonitorService
-
-
-
-
Constructor Detail
-
ReportRecorder
@DataBoundConstructor public ReportRecorder()
Creates a new instance ofReportRecorder
.
-
-
Method Detail
-
readResolve
protected Object readResolve()
Called after de-serialization to retain backward compatibility or to populate new elements (that would be otherwise initialized tonull
).- Returns:
- this
-
setName
@DataBoundSetter public void setName(String name)
-
getName
public String getName()
-
setProvider
@DataBoundSetter public void setProvider(Provider provider)
-
getProvider
public Provider getProvider()
-
getDisplayType
public String getDisplayType()
-
setDisplayType
@DataBoundSetter public void setDisplayType(String displayType)
-
getDescriptor
public ReportRecorder.Descriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
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
-
-