public class LaceworkScannerBuilder extends Builder implements SimpleBuildStep
Modifier and Type | Class and Description |
---|---|
static class |
LaceworkScannerBuilder.DescriptorImpl
Descriptor for
LaceworkScannerBuilder . |
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
BuildStep.PublisherList
ExtensionPoint.LegacyInstancesAreScopedToHudson
Modifier and Type | Field and Description |
---|---|
static int |
OK_CODE |
BUILDERS, PUBLISHERS
Constructor and Description |
---|
LaceworkScannerBuilder(String customFlags,
boolean fixableOnly,
String imageName,
String imageTag,
boolean noPull,
boolean evaluatePolicies,
boolean saveToLacework,
boolean disableLibraryPackageScanning,
boolean showEvaluationExceptions,
String tags) |
Modifier and Type | Method and Description |
---|---|
String |
getCustomFlags() |
LaceworkScannerBuilder.DescriptorImpl |
getDescriptor() |
boolean |
getDisableLibraryPackageScanning() |
boolean |
getEvaluatePolicies() |
boolean |
getFixableOnly() |
String |
getImageName() |
String |
getImageTag() |
boolean |
getNoPull() |
boolean |
getSaveToLacework() |
boolean |
getShowEvaluationExceptions() |
String |
getTags() |
void |
perform(Run<?,?> build,
FilePath workspace,
EnvVars env,
Launcher launcher,
TaskListener listener) |
static void |
setBuildId(int buildId) |
static void |
setCount(int count) |
all, getRequiredMonitorService, prebuild
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
perform, perform, requiresWorkspace
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
public static final int OK_CODE
@DataBoundConstructor public LaceworkScannerBuilder(String customFlags, boolean fixableOnly, String imageName, String imageTag, boolean noPull, boolean evaluatePolicies, boolean saveToLacework, boolean disableLibraryPackageScanning, boolean showEvaluationExceptions, String tags)
public static void setBuildId(int buildId)
public static void setCount(int count)
public String getCustomFlags()
public boolean getFixableOnly()
public String getImageName()
public String getImageTag()
public boolean getNoPull()
public boolean getEvaluatePolicies()
public boolean getSaveToLacework()
public boolean getDisableLibraryPackageScanning()
public boolean getShowEvaluationExceptions()
public String getTags()
public void perform(Run<?,?> build, FilePath workspace, EnvVars env, Launcher launcher, TaskListener listener) throws AbortException, InterruptedException
perform
in interface SimpleBuildStep
AbortException
InterruptedException
public LaceworkScannerBuilder.DescriptorImpl getDescriptor()
getDescriptor
in interface Describable<Builder>
getDescriptor
in class Builder
Copyright © 2016–2022. All rights reserved.