public class DependencyCheckPublisher extends ThresholdCapablePublisher implements jenkins.tasks.SimpleBuildStep, Serializable
Modifier and Type | Class and Description |
---|---|
static class |
DependencyCheckPublisher.DescriptorImpl
Descriptor for
DependencyCheckPublisher . |
hudson.tasks.Publisher.DescriptorExtensionListImpl
jenkins.tasks.SimpleBuildStep.LastBuildAction, jenkins.tasks.SimpleBuildStep.LastBuildActionFactory
Constructor and Description |
---|
DependencyCheckPublisher() |
Modifier and Type | Method and Description |
---|---|
DependencyCheckPublisher.DescriptorImpl |
getDescriptor()
A Descriptor Implementation.
|
String |
getPattern()
Returns the Ant file-set pattern of files to work with.
|
hudson.model.Action |
getProjectAction(hudson.model.AbstractProject<?,?> project) |
hudson.tasks.BuildStepMonitor |
getRequiredMonitorService() |
void |
perform(hudson.model.Run<?,?> build,
hudson.FilePath filePath,
hudson.Launcher launcher,
hudson.model.TaskListener listener)
This method is called whenever the build step is executed.
|
void |
setPattern(String pattern)
Sets the Ant file-set pattern of files to work with.
|
getFailedNewCritical, getFailedNewHigh, getFailedNewLow, getFailedNewMedium, getFailedTotalCritical, getFailedTotalHigh, getFailedTotalLow, getFailedTotalMedium, getNewThresholdAnalysisExploitable, getTotalThresholdAnalysisExploitable, getUnstableNewCritical, getUnstableNewHigh, getUnstableNewLow, getUnstableNewMedium, getUnstableTotalCritical, getUnstableTotalHigh, getUnstableTotalLow, getUnstableTotalMedium, setFailedNewCritical, setFailedNewHigh, setFailedNewLow, setFailedNewMedium, setFailedTotalCritical, setFailedTotalHigh, setFailedTotalLow, setFailedTotalMedium, setNewThresholdAnalysisExploitable, setTotalThresholdAnalysisExploitable, setUnstableNewCritical, setUnstableNewHigh, setUnstableNewLow, setUnstableNewMedium, setUnstableTotalCritical, setUnstableTotalHigh, setUnstableTotalLow, setUnstableTotalMedium
all, getProjectAction, needsToRunAfterFinalized, prebuild
getProjectActions, perform, perform, prebuild
public String getPattern()
@DataBoundSetter public void setPattern(String pattern)
pattern
- the pattern of filespublic void perform(@Nonnull hudson.model.Run<?,?> build, @Nonnull hudson.FilePath filePath, @Nonnull hudson.Launcher launcher, @Nonnull hudson.model.TaskListener listener) throws InterruptedException, IOException
perform
in interface jenkins.tasks.SimpleBuildStep
build
- A Run objectfilePath
- A FilePath objectlauncher
- A Launcher objectlistener
- A BuildListener objectInterruptedException
IOException
public hudson.model.Action getProjectAction(hudson.model.AbstractProject<?,?> project)
getProjectAction
in interface hudson.tasks.BuildStep
getProjectAction
in class hudson.tasks.BuildStepCompatibilityLayer
public DependencyCheckPublisher.DescriptorImpl getDescriptor()
getDescriptor
in interface hudson.model.Describable<hudson.tasks.Publisher>
getDescriptor
in class hudson.tasks.Recorder
public hudson.tasks.BuildStepMonitor getRequiredMonitorService()
getRequiredMonitorService
in interface hudson.tasks.BuildStep
Copyright © 2012–2021 OWASP. All rights reserved.