com.thalesgroup.hudson.plugins.cppcheck
Class CppcheckPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by com.thalesgroup.hudson.plugins.cppcheck.CppcheckPublisher
All Implemented Interfaces:
hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class CppcheckPublisher
extends hudson.tasks.Publisher


Nested Class Summary
static class CppcheckPublisher.CppcheckDescriptor
           
 
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
static CppcheckPublisher.CppcheckDescriptor DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
CppcheckPublisher(java.lang.String metricFilePath, java.lang.String threshold, java.lang.String newThreshold, java.lang.String failureThreshold, java.lang.String newFailureThreshold, java.lang.String healthy, java.lang.String unHealthy, java.lang.String thresholdLimit)
           
 
Method Summary
protected  boolean canContinue(hudson.model.Result result)
           
 CppcheckPublisher.CppcheckDescriptor getDescriptor()
           
 java.lang.String getFailureThreshold()
           
 java.lang.String getHealthy()
           
 java.lang.String getMetricFilePath()
           
 java.lang.String getNewFailureThreshold()
           
 java.lang.String getNewThreshold()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
           
 java.lang.String getThreshold()
           
 java.lang.String getThresholdLimit()
           
 java.lang.String getUnHealthy()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
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
prebuild
 

Field Detail

DESCRIPTOR

@Extension
public static final CppcheckPublisher.CppcheckDescriptor DESCRIPTOR
Constructor Detail

CppcheckPublisher

@DataBoundConstructor
public CppcheckPublisher(java.lang.String metricFilePath,
                                              java.lang.String threshold,
                                              java.lang.String newThreshold,
                                              java.lang.String failureThreshold,
                                              java.lang.String newFailureThreshold,
                                              java.lang.String healthy,
                                              java.lang.String unHealthy,
                                              java.lang.String thresholdLimit)
Method Detail

getDescriptor

public CppcheckPublisher.CppcheckDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Publisher

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

canContinue

protected boolean canContinue(hudson.model.Result result)

perform

public boolean perform(hudson.model.AbstractBuild<?,?> build,
                       hudson.Launcher launcher,
                       hudson.model.BuildListener listener)
Specified by:
perform in interface hudson.tasks.BuildStep
Overrides:
perform in class hudson.tasks.BuildStepCompatibilityLayer

getMetricFilePath

public java.lang.String getMetricFilePath()

getThreshold

public java.lang.String getThreshold()

getNewThreshold

public java.lang.String getNewThreshold()

getFailureThreshold

public java.lang.String getFailureThreshold()

getNewFailureThreshold

public java.lang.String getNewFailureThreshold()

getHealthy

public java.lang.String getHealthy()

getUnHealthy

public java.lang.String getUnHealthy()

getThresholdLimit

public java.lang.String getThresholdLimit()


Copyright © 2009. All Rights Reserved.