hudson.plugins.clover
Class CloverBuildWrapper

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<hudson.tasks.BuildWrapper>
      extended by hudson.tasks.BuildWrapper
          extended by hudson.plugins.clover.CloverBuildWrapper
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.BuildWrapper>

public class CloverBuildWrapper
extends hudson.tasks.BuildWrapper

A BuildWrapper that decorates the command line just before a build starts with targets and properties that will automatically integrate Clover into the Ant build.


Nested Class Summary
static class CloverBuildWrapper.CloverDecoratingLauncher
           
static class CloverBuildWrapper.DescriptorImpl
          Descriptor for CloverPublisher.
 
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
hudson.tasks.BuildWrapper.Environment
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static hudson.model.Descriptor<hudson.tasks.BuildWrapper> DESCRIPTOR
           
 boolean historical
           
 boolean json
           
 String licenseCert
           
 
Constructor Summary
CloverBuildWrapper(boolean historical, boolean json, String licenseCert)
           
 
Method Summary
 hudson.Launcher decorateLauncher(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 hudson.model.Action getProjectAction(hudson.model.AbstractProject job)
           
 hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLogger, getProjectActions, makeBuildVariables, makeSensitiveBuildVariables, setUp
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

historical

public boolean historical

json

public boolean json

licenseCert

public String licenseCert

DESCRIPTOR

public static final hudson.model.Descriptor<hudson.tasks.BuildWrapper> DESCRIPTOR
Constructor Detail

CloverBuildWrapper

@DataBoundConstructor
public CloverBuildWrapper(boolean historical,
                                               boolean json,
                                               String licenseCert)
Method Detail

setUp

public hudson.tasks.BuildWrapper.Environment setUp(hudson.model.AbstractBuild build,
                                                   hudson.Launcher launcher,
                                                   hudson.model.BuildListener listener)
                                            throws IOException,
                                                   InterruptedException
Overrides:
setUp in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException

getProjectAction

public hudson.model.Action getProjectAction(hudson.model.AbstractProject job)
Overrides:
getProjectAction in class hudson.tasks.BuildWrapper

decorateLauncher

public hudson.Launcher decorateLauncher(hudson.model.AbstractBuild build,
                                        hudson.Launcher launcher,
                                        hudson.model.BuildListener listener)
                                 throws IOException,
                                        InterruptedException,
                                        hudson.model.Run.RunnerAbortedException
Overrides:
decorateLauncher in class hudson.tasks.BuildWrapper
Throws:
IOException
InterruptedException
hudson.model.Run.RunnerAbortedException


Copyright © 2004-2012 Hudson. All Rights Reserved.