Class DockerBuilderControlOptionStop
- java.lang.Object
-
- com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOption
-
- com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlCloudOption
-
- com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOptionStopStart
-
- com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOptionStop
-
- All Implemented Interfaces:
Describable<DockerBuilderControlOption>
,Serializable
public class DockerBuilderControlOptionStop extends DockerBuilderControlOptionStopStart
Build step that stops container in DockerCloud- Author:
- magnayn
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerBuilderControlOptionStop.DescriptorImpl
-
Nested classes/interfaces inherited from class com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOption
DockerBuilderControlOption.DockerBuilderControlOptionDescriptor
-
-
Field Summary
Fields Modifier and Type Field Description boolean
remove
-
Fields inherited from class com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOptionStopStart
containerId
-
Fields inherited from class com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlCloudOption
cloudName
-
-
Constructor Summary
Constructors Constructor Description DockerBuilderControlOptionStop(String cloudName, String containerId, boolean remove)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(Run<?,?> build, Launcher launcher, TaskListener listener)
-
Methods inherited from class com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlCloudOption
getCloud, getCloudName
-
Methods inherited from class com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOption
getDescriptor, getLaunchAction
-
-
-
-
Method Detail
-
execute
public void execute(Run<?,?> build, Launcher launcher, TaskListener listener) throws com.github.dockerjava.api.exception.DockerException
- Specified by:
execute
in classDockerBuilderControlOption
- Throws:
com.github.dockerjava.api.exception.DockerException
-
-