@Extension public class ReqtifyGenerateReport extends Builder implements SimpleBuildStep
| Modifier and Type | Class and Description |
|---|---|
static class |
ReqtifyGenerateReport.DescriptorImpl
Descriptor of the class ReqtifyGenerateReport.
|
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactoryBuildStep.PublisherListExtensionPoint.LegacyInstancesAreScopedToHudsonBUILDERS, PUBLISHERS| Constructor and Description |
|---|
ReqtifyGenerateReport() |
ReqtifyGenerateReport(String nameReport,
String modelReport,
String templateReport,
String lang)
Constructor with DataBoundConstructor.
|
| Modifier and Type | Method and Description |
|---|---|
ReqtifyGenerateReport.DescriptorImpl |
getDescriptor() |
String |
getLang() |
String |
getModelReport() |
String |
getNameReport() |
String |
getTemplateReport() |
void |
perform(Run<?,?> run,
FilePath workspace,
Launcher launcher,
TaskListener listener)
Creation and running of the command to generate a Reqtify report.
|
static String |
readAll(InputStream is)
Read all the char of an inputStream before -1.
|
void |
setModelReport(String modelReport)
Set a new model for the report.
|
void |
setNameReport(String nameReport)
Set a new name for the report.
|
void |
setTemplateReport(String templateReport)
Set a new template for the report.
|
all, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, perform, prebuildclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildpublic ReqtifyGenerateReport()
@DataBoundConstructor public ReqtifyGenerateReport(String nameReport, String modelReport, String templateReport, String lang)
nameReport - stored name of the reportmodelReport - stored model of the reporttemplateReport - stored template of the reportlang - stored language of the reportpublic String getModelReport()
public String getTemplateReport()
public String getLang()
@DataBoundSetter public void setNameReport(@Nonnull String nameReport)
nameReport - New name for the report@DataBoundSetter public void setModelReport(String modelReport)
modelReport - New model for the report@DataBoundSetter public void setTemplateReport(String templateReport)
templateReport - New template for the reportpublic ReqtifyGenerateReport.DescriptorImpl getDescriptor()
getDescriptor in interface Describable<Builder>getDescriptor in class Builderpublic static String readAll(InputStream is) throws IOException
is - InputStream we want to readIOExceptionpublic void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
perform in interface SimpleBuildSteprun - workspace - Path of the worskspace of the projectlauncher - listener - InterruptedExceptionIOExceptionCopyright © 2016–2019. All rights reserved.