Class BuildConfig
- java.lang.Object
-
- com.anchore.jenkins.plugins.anchore.BuildConfig
-
public class BuildConfig extends Object
Holder for all Anchore configuration - includes global and project level attributes. A convenience class for capturing a snapshot of the config at the beginning of plugin execution and caching it for use during that specific execution
-
-
Constructor Summary
Constructors Constructor Description BuildConfig(String name, String engineRetries, boolean bailOnFail, boolean bailOnPluginFail, String policyBundleId, List<Annotation> annotations, boolean autoSubscribeTagUpdates, boolean forceAnalyze, boolean excludeFromBaseImage, boolean debug, String engineurl, String engineuser, String enginepass, boolean engineverify)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Annotation>
getAnnotations()
boolean
getAutoSubscribeTagUpdates()
boolean
getBailOnFail()
boolean
getBailOnPluginFail()
boolean
getDebug()
Util.API_VERSION
getEngineApiVersion()
String
getEnginepass()
String
getEngineRetries()
String
getEngineurl()
String
getEngineuser()
boolean
getEngineverify()
boolean
getExcludeFromBaseImage()
boolean
getForceAnalyze()
String
getName()
String
getPolicyBundleId()
void
print(ConsoleLog consoleLog)
-
-
-
Constructor Detail
-
BuildConfig
public BuildConfig(String name, String engineRetries, boolean bailOnFail, boolean bailOnPluginFail, String policyBundleId, List<Annotation> annotations, boolean autoSubscribeTagUpdates, boolean forceAnalyze, boolean excludeFromBaseImage, boolean debug, String engineurl, String engineuser, String enginepass, boolean engineverify)
-
-
Method Detail
-
getName
public String getName()
-
getEngineRetries
public String getEngineRetries()
-
getBailOnFail
public boolean getBailOnFail()
-
getBailOnPluginFail
public boolean getBailOnPluginFail()
-
getPolicyBundleId
public String getPolicyBundleId()
-
getAnnotations
public List<Annotation> getAnnotations()
-
getAutoSubscribeTagUpdates
public boolean getAutoSubscribeTagUpdates()
-
getForceAnalyze
public boolean getForceAnalyze()
-
getExcludeFromBaseImage
public boolean getExcludeFromBaseImage()
-
getDebug
public boolean getDebug()
-
getEngineurl
public String getEngineurl()
-
getEngineuser
public String getEngineuser()
-
getEnginepass
public String getEnginepass()
-
getEngineverify
public boolean getEngineverify()
-
getEngineApiVersion
public Util.API_VERSION getEngineApiVersion()
-
print
public void print(ConsoleLog consoleLog)
-
-