public class AquaDockerScannerBuilder
extends hudson.tasks.Builder
When a build is performed, the perform(hudson.model.AbstractBuild, hudson.Launcher, hudson.model.BuildListener) method will be invoked.
| Modifier and Type | Class and Description |
|---|---|
static class |
AquaDockerScannerBuilder.DescriptorImpl
Descriptor for
AquaDockerScannerBuilder. |
| Modifier and Type | Field and Description |
|---|---|
static int |
DISALLOWED_CODE |
static int |
OK_CODE |
| Constructor and Description |
|---|
AquaDockerScannerBuilder(String locationType,
String registry,
String localImage,
String hostedImage,
String onDisallowed,
String notCompliesCmd,
boolean hideBase,
boolean showNegligible) |
| Modifier and Type | Method and Description |
|---|---|
AquaDockerScannerBuilder.DescriptorImpl |
getDescriptor() |
boolean |
getHideBase() |
String |
getHostedImage() |
String |
getLocalImage() |
String |
getLocationType()
Public access required by config.jelly to display current values in configuration screen.
|
String |
getNotCompliesCmd() |
String |
getOnDisallowed() |
String |
getRegistry() |
boolean |
getShowNegligible() |
String |
isLocationType(String type) |
String |
isOnDisallowed(String state) |
boolean |
perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
static void |
setBuildId(int buildId) |
static void |
setCount(int count) |
public static final int OK_CODE
public static final int DISALLOWED_CODE
public static void setCount(int count)
public static void setBuildId(int buildId)
public String getLocationType()
public String getRegistry()
public String getLocalImage()
public String getHostedImage()
public String getOnDisallowed()
public String getNotCompliesCmd()
public boolean getHideBase()
public boolean getShowNegligible()
public boolean perform(hudson.model.AbstractBuild build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws hudson.AbortException,
InterruptedException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerhudson.AbortExceptionInterruptedExceptionpublic AquaDockerScannerBuilder.DescriptorImpl getDescriptor()
getDescriptor in interface hudson.model.Describable<hudson.tasks.Builder>getDescriptor in class hudson.tasks.BuilderCopyright © 2016–2017. All rights reserved.