org.jenkinsci.plugins.graniteclient
Class DownloadPackagesCallable

java.lang.Object
  extended by org.jenkinsci.plugins.graniteclient.DownloadPackagesCallable
All Implemented Interfaces:
hudson.FilePath.FileCallable<hudson.model.Result>, Serializable

public class DownloadPackagesCallable
extends Object
implements hudson.FilePath.FileCallable<hudson.model.Result>

Implementation of FilePath.FileCallable used by the DownloadPackagesBuilder

See Also:
Serialized Form

Field Summary
protected  GraniteClientConfig clientConfig
           
protected  hudson.model.TaskListener listener
           
 
Constructor Summary
DownloadPackagesCallable(GraniteClientConfig clientConfig, hudson.model.TaskListener listener, List<net.adamcin.granite.client.packman.PackId> packIds, boolean ignoreErrors, boolean rebuild)
           
 
Method Summary
 hudson.model.Result invoke(File toDirectory, hudson.remoting.VirtualChannel channel)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

clientConfig

protected final GraniteClientConfig clientConfig

listener

protected final hudson.model.TaskListener listener
Constructor Detail

DownloadPackagesCallable

public DownloadPackagesCallable(GraniteClientConfig clientConfig,
                                hudson.model.TaskListener listener,
                                List<net.adamcin.granite.client.packman.PackId> packIds,
                                boolean ignoreErrors,
                                boolean rebuild)
Method Detail

invoke

public hudson.model.Result invoke(File toDirectory,
                                  hudson.remoting.VirtualChannel channel)
                           throws IOException,
                                  InterruptedException
Specified by:
invoke in interface hudson.FilePath.FileCallable<hudson.model.Result>
Throws:
IOException
InterruptedException


Copyright © 2013-2014. All Rights Reserved.