net.praqma.jenkins.plugin.prqa.notifier
Class PRQANotifier

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by 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 Class Summary
static class PRQANotifier.DescriptorImpl
          This class is used by Jenkins to define the plugin.
 
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
 
Field Summary
 String chosenServer
           
 boolean enableDataFlowAnalysis
           
 boolean enableDependencyMode
           
 Double fileComplianceIndex
          Deprecated. 
 boolean generateReports
          Deprecated. 
 boolean performCrossModuleAnalysis
           
 String product
           
 Double projectComplianceIndex
          Deprecated. 
 String projectFile
           
 boolean publishToQAV
           
 String qaVerifyProjectName
           
 String settingFileCompliance
          Deprecated. 
 String settingMaxMessages
          Deprecated. 
 String settingProjectCompliance
          Deprecated. 
 boolean singleSnapshotMode
           
 PRQAReportSource source
           
 String sourceOrigin
           
 int threshholdlevel
           
 List<AbstractThreshold> thresholdsDesc
           
 Boolean totalBetter
          Deprecated. 
 Integer totalMax
          Deprecated. 
 String vcsConfigXml
           
 
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)
           
 
Method Summary
 EnumSet<net.praqma.prqa.PRQAContext.QARReportType> getChosenReportTypes()
           
 net.praqma.prqa.CodeUploadSetting getCodeUploadSetting()
           
 PRQAGraph getGraph(Class clazz, List<PRQAGraph> graphs)
           
 PRQAGraph getGraph(String simpleClassName)
           
 List<PRQAGraph> getGraphTypes()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 List<PRQAGraph> getSupportedGraphs()
           
 Integer getTotalMax()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 boolean prebuild(hudson.model.AbstractBuild<?,?> build, hudson.model.BuildListener listener)
          Pre-build for the plugin.
 void setChosenReportTypes(EnumSet<net.praqma.prqa.PRQAContext.QARReportType> chosenReportTypes)
           
 void setCodeUploadSetting(String codeUploadSetting)
           
 void setGraphTypes(List<PRQAGraph> graphTypes)
           
 
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
 

Field Detail

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
Constructor Detail

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)
Method Detail

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.