Class DockerBuildImageAction
- java.lang.Object
-
- com.nirima.jenkins.plugins.docker.action.DockerBuildImageAction
-
- All Implemented Interfaces:
Action
,Describable<DockerBuildImageAction>
,ModelObject
,Serializable
,RunAction2
@ExportedBean public class DockerBuildImageAction extends Object implements RunAction2, Serializable, Describable<DockerBuildImageAction>
Created by magnayn on 10/01/2014.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DockerBuildImageAction.DescriptorImpl
Just for assisting form related stuff.
-
Field Summary
Fields Modifier and Type Field Description boolean
cleanupWithJenkinsJobDelete
String
containerHost
String
containerId
boolean
noCache
boolean
pull
boolean
pushOnSuccess
String
taggedId
Deprecated.usetags
List<String>
tags
-
Constructor Summary
Constructors Constructor Description DockerBuildImageAction(String containerHost, String containerId, String taggedId, boolean cleanupWithJenkinsJobDelete, boolean pushOnSuccess)
Deprecated.DockerBuildImageAction(String containerHost, String containerId, List<String> tags, boolean cleanupWithJenkinsJobDelete, boolean pushOnSuccess)
DockerBuildImageAction(String containerHost, String containerId, List<String> tags, boolean cleanupWithJenkinsJobDelete, boolean pushOnSuccess, boolean noCache, boolean pull)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DockerBuildImageAction.DescriptorImpl
getDescriptor()
String
getDisplayName()
String
getIconFileName()
Run<?,?>
getRun()
String
getUrlName()
void
onAttached(Run<?,?> run)
void
onLoad(Run<?,?> run)
void
setNoCache(boolean noCache)
void
setPull(boolean pull)
-
-
-
Field Detail
-
containerHost
public final String containerHost
-
containerId
public final String containerId
-
taggedId
@Deprecated public final String taggedId
Deprecated.usetags
-
cleanupWithJenkinsJobDelete
public final boolean cleanupWithJenkinsJobDelete
-
pushOnSuccess
public final boolean pushOnSuccess
-
noCache
public boolean noCache
-
pull
public boolean pull
-
-
Constructor Detail
-
DockerBuildImageAction
@Deprecated public DockerBuildImageAction(String containerHost, String containerId, String taggedId, boolean cleanupWithJenkinsJobDelete, boolean pushOnSuccess)
Deprecated.
-
DockerBuildImageAction
public DockerBuildImageAction(String containerHost, String containerId, List<String> tags, boolean cleanupWithJenkinsJobDelete, boolean pushOnSuccess)
-
-
Method Detail
-
setPull
public void setPull(boolean pull)
-
setNoCache
public void setNoCache(boolean noCache)
-
getRun
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) public Run<?,?> getRun()
-
getIconFileName
public String getIconFileName()
- Specified by:
getIconFileName
in interfaceAction
-
getDisplayName
public String getDisplayName()
- Specified by:
getDisplayName
in interfaceAction
- Specified by:
getDisplayName
in interfaceModelObject
-
getUrlName
public String getUrlName()
- Specified by:
getUrlName
in interfaceAction
-
getDescriptor
public DockerBuildImageAction.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<DockerBuildImageAction>
-
onAttached
public void onAttached(Run<?,?> run)
- Specified by:
onAttached
in interfaceRunAction2
-
onLoad
public void onLoad(Run<?,?> run)
- Specified by:
onLoad
in interfaceRunAction2
-
-