com.cloudbees.jenkins.plugins.okidocki
Class PullDockerImageSelector

java.lang.Object
  extended by hudson.model.AbstractDescribableImpl<DockerImageSelector>
      extended by com.cloudbees.jenkins.plugins.okidocki.DockerImageSelector
          extended by com.cloudbees.jenkins.plugins.okidocki.PullDockerImageSelector
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<DockerImageSelector>

public class PullDockerImageSelector
extends DockerImageSelector

Author:
Nicolas De Loof

Nested Class Summary
static class PullDockerImageSelector.DescriptorImpl
           
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
 String image
           
 
Constructor Summary
PullDockerImageSelector(String image)
           
 
Method Summary
 String prepareDockerImage(Docker docker, hudson.model.AbstractBuild build, hudson.model.TaskListener listener)
           
 
Methods inherited from class hudson.model.AbstractDescribableImpl
getDescriptor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

image

public String image
Constructor Detail

PullDockerImageSelector

@DataBoundConstructor
public PullDockerImageSelector(String image)
Method Detail

prepareDockerImage

public String prepareDockerImage(Docker docker,
                                 hudson.model.AbstractBuild build,
                                 hudson.model.TaskListener listener)
                          throws IOException,
                                 InterruptedException
Specified by:
prepareDockerImage in class DockerImageSelector
Throws:
IOException
InterruptedException


Copyright © 2004-2014. All Rights Reserved.