Class DockerBuilderControlOption
- java.lang.Object
-
- com.nirima.jenkins.plugins.docker.builder.DockerBuilderControlOption
-
- All Implemented Interfaces:
Describable<DockerBuilderControlOption>
,Serializable
- Direct Known Subclasses:
DockerBuilderControlCloudOption
,DockerBuilderControlOptionStopAll
public abstract class DockerBuilderControlOption extends Object implements Describable<DockerBuilderControlOption>, Serializable
Root abstract class for DockerBuilderControls- Author:
- magnayn
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerBuilderControlOption.DockerBuilderControlOptionDescriptor
-
Constructor Summary
Constructors Constructor Description DockerBuilderControlOption()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract void
execute(Run<?,?> build, Launcher launcher, TaskListener listener)
Descriptor<DockerBuilderControlOption>
getDescriptor()
protected DockerLaunchAction
getLaunchAction(Run<?,?> build)
-
-
-
Method Detail
-
execute
public abstract void execute(Run<?,?> build, Launcher launcher, TaskListener listener) throws com.github.dockerjava.api.exception.DockerException, IOException
- Throws:
com.github.dockerjava.api.exception.DockerException
IOException
-
getLaunchAction
protected DockerLaunchAction getLaunchAction(Run<?,?> build)
- Parameters:
build
- The build being inspected- Returns:
- first DockerLaunchAction attached to build
-
getDescriptor
public Descriptor<DockerBuilderControlOption> getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<DockerBuilderControlOption>
-
-