Package hudson.plugins.clover
Class CloverBuildWrapper
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<BuildWrapper>
-
- hudson.tasks.BuildWrapper
-
- hudson.plugins.clover.CloverBuildWrapper
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<BuildWrapper>
public class CloverBuildWrapper extends 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
Nested Classes Modifier and Type Class Description static class
CloverBuildWrapper.CloverDecoratingLauncher
static class
CloverBuildWrapper.DescriptorImpl
Descriptor forCloverPublisher
.-
Nested classes/interfaces inherited from class hudson.tasks.BuildWrapper
BuildWrapper.Environment
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Field Summary
Fields Modifier and Type Field Description String
clover
boolean
historical
boolean
json
boolean
putValuesInQuotes
-
Constructor Summary
Constructors Constructor Description CloverBuildWrapper(boolean historical, boolean json, String clover, boolean putValuesInQuotes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Launcher
decorateLauncher(AbstractBuild build, Launcher launcher, BuildListener listener)
Collection<? extends Action>
getProjectActions(AbstractProject job)
BuildWrapper.Environment
setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
-
Methods inherited from class hudson.tasks.BuildWrapper
all, decorateLogger, getProjectAction, makeBuildVariables, makeSensitiveBuildVariables, preCheckout, setUp
-
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
-
-
-
-
Field Detail
-
historical
public boolean historical
-
json
public boolean json
-
clover
public final String clover
-
putValuesInQuotes
public final boolean putValuesInQuotes
-
-
Constructor Detail
-
CloverBuildWrapper
@DataBoundConstructor public CloverBuildWrapper(boolean historical, boolean json, String clover, boolean putValuesInQuotes)
-
-
Method Detail
-
setUp
public BuildWrapper.Environment setUp(AbstractBuild build, Launcher launcher, BuildListener listener)
- Overrides:
setUp
in classBuildWrapper
-
getProjectActions
public Collection<? extends Action> getProjectActions(AbstractProject job)
- Overrides:
getProjectActions
in classBuildWrapper
-
decorateLauncher
public Launcher decorateLauncher(@NonNull AbstractBuild build, @NonNull Launcher launcher, @NonNull BuildListener listener) throws IOException, InterruptedException, Run.RunnerAbortedException
- Overrides:
decorateLauncher
in classBuildWrapper
- Throws:
IOException
InterruptedException
Run.RunnerAbortedException
-
-