Class AnchoreBuilder.DescriptorImpl
- java.lang.Object
-
- hudson.model.Descriptor<T>
-
- hudson.tasks.BuildStepDescriptor<Builder>
-
- com.anchore.jenkins.plugins.anchore.AnchoreBuilder.DescriptorImpl
-
- Enclosing class:
- AnchoreBuilder
@Symbol("anchore") @Extension public static final class AnchoreBuilder.DescriptorImpl extends BuildStepDescriptor<Builder>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
DEFAULT_AUTOSUBSCRIBE_TAG_UPDATES
static boolean
DEFAULT_BAIL_ON_FAIL
static boolean
DEFAULT_BAIL_ON_PLUGIN_FAIL
static String
DEFAULT_ENGINE_RETRIES
static boolean
DEFAULT_EXCLUDE_FROM_BASE_IMAGE
static boolean
DEFAULT_FORCE_ANALYZE
static String
DEFAULT_NAME
static String
DEFAULT_PLUGIN_MODE
static String
DEFAULT_POLICY_BUNDLE_ID
static String
EMPTY_STRING
-
Fields inherited from class hudson.model.Descriptor
clazz
-
-
Constructor Summary
Constructors Constructor Description DescriptorImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData)
FormValidation
doCheckName(String value)
Performs on-the-fly validation of the form field 'name' (Image list file)ListBoxModel
doFillEngineCredentialsIdItems(String credentialsId)
boolean
getDebug()
String
getDisplayName()
boolean
getEnabled()
Deprecated.Secret
getEnginepass()
String
getEngineurl()
String
getEngineuser()
boolean
getEngineverify()
boolean
isApplicable(Class<? extends AbstractProject> aClass)
void
setDebug(boolean debug)
void
setEnabled(boolean enabled)
Deprecated.void
setEnginepass(Secret enginepass)
void
setEngineurl(String engineurl)
void
setEngineuser(String engineuser)
void
setEngineverify(boolean engineverify)
-
Methods inherited from class hudson.tasks.BuildStepDescriptor
filter
-
Methods inherited from class hudson.model.Descriptor
addHelpFileRedirect, bindJSON, calcAutoCompleteSettings, calcFillSettings, configure, doHelp, find, find, findByDescribableClassName, findById, getCategory, getCheckMethod, getCheckUrl, getConfigFile, getConfigPage, getCurrentDescriptorByNameUrl, getDescriptorFullUrl, getDescriptorUrl, getGlobalConfigPage, getGlobalPropertyType, getHelpFile, getHelpFile, getHelpFile, getId, getJsonSafeClassName, getKlass, getPlugin, getPossibleViewNames, getPropertyType, getPropertyType, getPropertyTypeOrDie, getRequiredGlobalConfigPagePermission, getT, getViewPage, isInstance, isSubTypeOf, load, newInstance, newInstance, newInstancesFromHeteroList, newInstancesFromHeteroList, save, self, toArray, toList, toMap
-
-
-
-
Field Detail
-
DEFAULT_NAME
public static final String DEFAULT_NAME
- See Also:
- Constant Field Values
-
DEFAULT_ENGINE_RETRIES
public static final String DEFAULT_ENGINE_RETRIES
- See Also:
- Constant Field Values
-
DEFAULT_BAIL_ON_FAIL
public static final boolean DEFAULT_BAIL_ON_FAIL
- See Also:
- Constant Field Values
-
DEFAULT_BAIL_ON_PLUGIN_FAIL
public static final boolean DEFAULT_BAIL_ON_PLUGIN_FAIL
- See Also:
- Constant Field Values
-
DEFAULT_PLUGIN_MODE
public static final String DEFAULT_PLUGIN_MODE
- See Also:
- Constant Field Values
-
DEFAULT_POLICY_BUNDLE_ID
public static final String DEFAULT_POLICY_BUNDLE_ID
- See Also:
- Constant Field Values
-
EMPTY_STRING
public static final String EMPTY_STRING
- See Also:
- Constant Field Values
-
DEFAULT_AUTOSUBSCRIBE_TAG_UPDATES
public static final boolean DEFAULT_AUTOSUBSCRIBE_TAG_UPDATES
- See Also:
- Constant Field Values
-
DEFAULT_FORCE_ANALYZE
public static final boolean DEFAULT_FORCE_ANALYZE
- See Also:
- Constant Field Values
-
DEFAULT_EXCLUDE_FROM_BASE_IMAGE
public static final boolean DEFAULT_EXCLUDE_FROM_BASE_IMAGE
- See Also:
- Constant Field Values
-
-
Method Detail
-
setDebug
public void setDebug(boolean debug)
-
setEnabled
@Deprecated public void setEnabled(boolean enabled)
Deprecated.
-
setEngineurl
public void setEngineurl(String engineurl)
-
setEngineuser
public void setEngineuser(String engineuser)
-
setEnginepass
public void setEnginepass(Secret enginepass)
-
setEngineverify
public void setEngineverify(boolean engineverify)
-
getDebug
public boolean getDebug()
-
getEnabled
@Deprecated public boolean getEnabled()
Deprecated.
-
getEngineurl
public String getEngineurl()
-
getEngineuser
public String getEngineuser()
-
getEnginepass
public Secret getEnginepass()
-
getEngineverify
public boolean getEngineverify()
-
isApplicable
public boolean isApplicable(Class<? extends AbstractProject> aClass)
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
getDisplayName
public String getDisplayName()
- Overrides:
getDisplayName
in classDescriptor<Builder>
-
configure
public boolean configure(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) throws Descriptor.FormException
- Overrides:
configure
in classDescriptor<Builder>
- Throws:
Descriptor.FormException
-
doCheckName
public FormValidation doCheckName(@QueryParameter String value)
Performs on-the-fly validation of the form field 'name' (Image list file)- Parameters:
value
- This parameter receives the value that the user has typed in the 'Image list file' box- Returns:
- Indicates the outcome of the validation. This is sent to the browser.
Note that returning
FormValidation.error(String)
does not prevent the form from being saved. It just means that a message will be displayed to the user
-
doFillEngineCredentialsIdItems
public ListBoxModel doFillEngineCredentialsIdItems(@QueryParameter String credentialsId)
-
-