Class DockerBuilder.DescriptorImpl
java.lang.Object
hudson.model.Descriptor<Builder>
hudson.tasks.BuildStepDescriptor<Builder>
org.jenkinsci.plugins.dockerbuildstep.DockerBuilder.DescriptorImpl
- All Implemented Interfaces:
Saveable
,Serializable
,OnMaster
- Enclosing class:
DockerBuilder
@Extension
public static final class DockerBuilder.DescriptorImpl
extends BuildStepDescriptor<Builder>
implements Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class hudson.model.Descriptor
Descriptor.FormException, Descriptor.PropertyType, Descriptor.Self
-
Field Summary
Fields inherited from class hudson.model.Descriptor
clazz
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
configure
(org.kohsuke.stapler.StaplerRequest req, net.sf.json.JSONObject formData) doTestConnection
(String dockerUrl, String dockerVersion, String dockerCertPath) getConfig
(AbstractBuild<?, ?> build) com.github.dockerjava.api.DockerClient
getDockerClient
(com.github.dockerjava.api.model.AuthConfig authConfig) com.github.dockerjava.api.DockerClient
getDockerClient
(AbstractBuild<?, ?> build, com.github.dockerjava.api.model.AuthConfig authConfig) com.github.dockerjava.api.DockerClient
getDockerClient
(String dockerUrlRes, String dockerVersionRes, String dockerCertPathRes, com.github.dockerjava.api.model.AuthConfig authConfig) boolean
isApplicable
(Class<? extends AbstractProject> aClass) 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
-
Constructor Details
-
DescriptorImpl
public DescriptorImpl()
-
-
Method Details
-
doTestConnection
public FormValidation doTestConnection(@QueryParameter String dockerUrl, @QueryParameter String dockerVersion, @QueryParameter String dockerCertPath) -
isApplicable
- Specified by:
isApplicable
in classBuildStepDescriptor<Builder>
-
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
-
getDockerUrl
-
getDockerVersion
-
getDockerCertPath
-
getDockerClient
public com.github.dockerjava.api.DockerClient getDockerClient(com.github.dockerjava.api.model.AuthConfig authConfig) -
getDockerClient
public com.github.dockerjava.api.DockerClient getDockerClient(AbstractBuild<?, ?> build, com.github.dockerjava.api.model.AuthConfig authConfig) -
getConfig
-
getDockerClient
-
getCmdDescriptors
public DescriptorExtensionList<DockerCommand,DockerCommand.DockerCommandDescriptor> getCmdDescriptors()
-