net.praqma.jenkins.plugin.prqa.notifier
Class PRQANotifier
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
net.praqma.jenkins.plugin.prqa.notifier.PRQANotifier
- All Implemented Interfaces:
- hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep
public class PRQANotifier
- extends hudson.tasks.Publisher
| Nested classes/interfaces inherited from class hudson.tasks.Publisher |
hudson.tasks.Publisher.DescriptorExtensionListImpl |
| Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
| Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
|
Constructor Summary |
PRQANotifier(String product,
boolean totalBetter,
String totalMax,
String fileComplianceIndex,
String projectComplianceIndex,
String settingMaxMessages,
String settingFileCompliance,
String settingProjectCompliance,
String projectFile,
boolean performCrossModuleAnalysis,
boolean publishToQAV,
String qaVerifyProjectName,
String vcsConfigXml,
boolean singleSnapshotMode,
String snapshotName,
String chosenServer,
boolean enableDependencyMode,
String codeUploadSetting,
String msgConfigFile,
boolean generateReports,
String sourceOrigin,
EnumSet<net.praqma.prqa.PRQAContext.QARReportType> chosenReportTypes,
boolean enableDataFlowAnalysis,
int threshholdlevel,
PRQAReportSource source,
List<AbstractThreshold> thresholdsDesc)
|
| Methods inherited from class hudson.tasks.Publisher |
all, getDescriptor, getProjectAction, needsToRunAfterFinalized, prebuild |
| Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectActions, perform |
| 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 |
getProjectActions |
threshholdlevel
public final int threshholdlevel
totalBetter
@Deprecated
public final Boolean totalBetter
- Deprecated.
totalMax
@Deprecated
public final Integer totalMax
- Deprecated.
product
public final String product
chosenServer
public final String chosenServer
settingFileCompliance
@Deprecated
public final String settingFileCompliance
- Deprecated.
settingMaxMessages
@Deprecated
public final String settingMaxMessages
- Deprecated.
settingProjectCompliance
@Deprecated
public final String settingProjectCompliance
- Deprecated.
fileComplianceIndex
@Deprecated
public final Double fileComplianceIndex
- Deprecated.
projectComplianceIndex
@Deprecated
public final Double projectComplianceIndex
- Deprecated.
projectFile
public final String projectFile
vcsConfigXml
public final String vcsConfigXml
performCrossModuleAnalysis
public final boolean performCrossModuleAnalysis
publishToQAV
public final boolean publishToQAV
singleSnapshotMode
public final boolean singleSnapshotMode
enableDependencyMode
public final boolean enableDependencyMode
enableDataFlowAnalysis
public final boolean enableDataFlowAnalysis
generateReports
@Deprecated
public final boolean generateReports
- Deprecated.
sourceOrigin
public final String sourceOrigin
qaVerifyProjectName
public final String qaVerifyProjectName
source
public final PRQAReportSource source
thresholdsDesc
public final List<AbstractThreshold> thresholdsDesc
PRQANotifier
@DataBoundConstructor
public PRQANotifier(String product,
boolean totalBetter,
String totalMax,
String fileComplianceIndex,
String projectComplianceIndex,
String settingMaxMessages,
String settingFileCompliance,
String settingProjectCompliance,
String projectFile,
boolean performCrossModuleAnalysis,
boolean publishToQAV,
String qaVerifyProjectName,
String vcsConfigXml,
boolean singleSnapshotMode,
String snapshotName,
String chosenServer,
boolean enableDependencyMode,
String codeUploadSetting,
String msgConfigFile,
boolean generateReports,
String sourceOrigin,
EnumSet<net.praqma.prqa.PRQAContext.QARReportType> chosenReportTypes,
boolean enableDataFlowAnalysis,
int threshholdlevel,
PRQAReportSource source,
List<AbstractThreshold> thresholdsDesc)
getProjectAction
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
- Specified by:
getProjectAction in interface hudson.tasks.BuildStep- Overrides:
getProjectAction in class hudson.tasks.BuildStepCompatibilityLayer
getRequiredMonitorService
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getSupportedGraphs
public List<PRQAGraph> getSupportedGraphs()
getGraph
public PRQAGraph getGraph(String simpleClassName)
getGraph
public PRQAGraph getGraph(Class clazz,
List<PRQAGraph> graphs)
prebuild
public boolean prebuild(hudson.model.AbstractBuild<?,?> build,
hudson.model.BuildListener listener)
- Pre-build for the plugin. We use this one to clean up old report files.
- Specified by:
prebuild in interface hudson.tasks.BuildStep- Overrides:
prebuild in class hudson.tasks.BuildStepCompatibilityLayer
- Parameters:
build - listener -
- Returns:
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform in interface hudson.tasks.BuildStep- Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getTotalMax
@Exported
public Integer getTotalMax()
setGraphTypes
@Exported
public void setGraphTypes(List<PRQAGraph> graphTypes)
getGraphTypes
@Exported
public List<PRQAGraph> getGraphTypes()
getCodeUploadSetting
public net.praqma.prqa.CodeUploadSetting getCodeUploadSetting()
- Returns:
- the codeUploadSetting
setCodeUploadSetting
public void setCodeUploadSetting(String codeUploadSetting)
- Parameters:
codeUploadSetting - the codeUploadSetting to set
getChosenReportTypes
public EnumSet<net.praqma.prqa.PRQAContext.QARReportType> getChosenReportTypes()
- Returns:
- the optionalReportTypes
setChosenReportTypes
public void setChosenReportTypes(EnumSet<net.praqma.prqa.PRQAContext.QARReportType> chosenReportTypes)
Copyright © 2004-2013. All Rights Reserved.