Class RpmsReportPublisher
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- io.jenkins.plugins.report.genericdiff.RpmsReportPublisher
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
public class RpmsReportPublisher extends Recorder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RpmsReportPublisher.DescriptorImpl
-
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 RpmsReportPublisher.DescriptorImpl
DESCRIPTOR
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description RpmsReportPublisher(int buildstopast, boolean moveunstable, boolean movefailed, boolean moveempty, List<RpmsReportOneRecord> configurations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FormValidation
doCheckConfigurations(List<RpmsReportOneRecord> configurations)
It seems that jenkins is unable to verify repeatble element.FormValidation
doValidateIds(List<RpmsReportOneRecord> configurations)
int
getBuildstopast()
List<RpmsReportOneRecord>
getConfigurations()
BuildStepDescriptor
getDescriptor()
BuildStepMonitor
getRequiredMonitorService()
boolean
isMoveempty()
boolean
isMovefailed()
boolean
isMoveunstable()
boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
void
setBuildstopast(int buildstopast)
void
setConfigurations(List<RpmsReportOneRecord> configurations)
void
setMoveempty(boolean moveempty)
void
setMovefailed(boolean movefailed)
void
setMoveunstable(boolean moveunstable)
void
validateId()
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Field Detail
-
DESCRIPTOR
@Extension public static final RpmsReportPublisher.DescriptorImpl DESCRIPTOR
-
-
Constructor Detail
-
RpmsReportPublisher
@DataBoundConstructor public RpmsReportPublisher(int buildstopast, boolean moveunstable, boolean movefailed, boolean moveempty, List<RpmsReportOneRecord> configurations)
-
-
Method Detail
-
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
-
validateId
public void validateId()
-
doCheckConfigurations
public FormValidation doCheckConfigurations(@QueryParameter List<RpmsReportOneRecord> configurations)
It seems that jenkins is unable to verify repeatble element. So we cal this manually by validate if
-
doValidateIds
public FormValidation doValidateIds(@QueryParameter List<RpmsReportOneRecord> configurations)
-
getDescriptor
public BuildStepDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
-
getConfigurations
public List<RpmsReportOneRecord> getConfigurations()
-
getBuildstopast
public int getBuildstopast()
-
isMovefailed
public boolean isMovefailed()
-
isMoveunstable
public boolean isMoveunstable()
-
isMoveempty
public boolean isMoveempty()
-
setConfigurations
@DataBoundSetter public void setConfigurations(List<RpmsReportOneRecord> configurations)
-
setBuildstopast
@DataBoundSetter public void setBuildstopast(int buildstopast)
-
setMoveunstable
@DataBoundSetter public void setMoveunstable(boolean moveunstable)
-
setMovefailed
@DataBoundSetter public void setMovefailed(boolean movefailed)
-
setMoveempty
@DataBoundSetter public void setMoveempty(boolean moveempty)
-
-