org.jenkinsci.plugins.valgrind
Class ValgrindPublisher

java.lang.Object
  extended by hudson.tasks.BuildStepCompatibilityLayer
      extended by hudson.tasks.Publisher
          extended by hudson.tasks.Recorder
              extended by org.jenkinsci.plugins.valgrind.ValgrindPublisher
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Publisher>, hudson.tasks.BuildStep

public class ValgrindPublisher
extends hudson.tasks.Recorder

Author:
Johannes Ohlemacher

Nested Class Summary
static class ValgrindPublisher.ValgrindPublisherDescriptor
           
 
Nested classes/interfaces inherited from class hudson.tasks.Publisher
hudson.tasks.Publisher.DescriptorExtensionListImpl
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
static ValgrindPublisher.ValgrindPublisherDescriptor DESCRIPTOR
           
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
ValgrindPublisher(String pattern, String failThresholdInvalidReadWrite, String failThresholdDefinitelyLost, String failThresholdTotal, String unstableThresholdInvalidReadWrite, String unstableThresholdDefinitelyLost, String unstableThresholdTotal)
           
 
Method Summary
protected  boolean canContinue(hudson.model.Result result)
           
 ValgrindPublisher.ValgrindPublisherDescriptor getDescriptor()
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
           
 hudson.tasks.BuildStepMonitor getRequiredMonitorService()
           
 ValgrindPublisherConfig getValgrindPublisherConfig()
           
 boolean perform(hudson.model.AbstractBuild<?,?> build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 void setValgrindPublisherConfig(ValgrindPublisherConfig valgrindPublisherConfig)
           
 
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
 
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectActions, 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
getProjectActions, prebuild
 

Field Detail

DESCRIPTOR

@Extension
public static final ValgrindPublisher.ValgrindPublisherDescriptor DESCRIPTOR
Constructor Detail

ValgrindPublisher

@DataBoundConstructor
public ValgrindPublisher(String pattern,
                                              String failThresholdInvalidReadWrite,
                                              String failThresholdDefinitelyLost,
                                              String failThresholdTotal,
                                              String unstableThresholdInvalidReadWrite,
                                              String unstableThresholdDefinitelyLost,
                                              String unstableThresholdTotal)
Method Detail

getDescriptor

public ValgrindPublisher.ValgrindPublisherDescriptor getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<hudson.tasks.Publisher>
Overrides:
getDescriptor in class hudson.tasks.Recorder

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()

canContinue

protected boolean canContinue(hudson.model.Result result)

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

getValgrindPublisherConfig

public ValgrindPublisherConfig getValgrindPublisherConfig()

setValgrindPublisherConfig

public void setValgrindPublisherConfig(ValgrindPublisherConfig valgrindPublisherConfig)


Copyright © 2004-2012. All Rights Reserved.