public class DownloadPackagesCallable extends GraniteClientFileCallable<hudson.model.Result>
FilePath.FileCallable used by the DownloadPackagesBuilder| Modifier and Type | Field and Description |
|---|---|
protected GraniteClientConfig |
clientConfig |
protected hudson.model.TaskListener |
listener |
| Constructor and Description |
|---|
DownloadPackagesCallable(GraniteClientConfig clientConfig,
hudson.model.TaskListener listener,
List<net.adamcin.granite.client.packman.PackId> packIds,
boolean ignoreErrors,
boolean rebuild) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Result |
invoke(File toDirectory,
hudson.remoting.VirtualChannel channel) |
protected final GraniteClientConfig clientConfig
protected final hudson.model.TaskListener listener
public DownloadPackagesCallable(GraniteClientConfig clientConfig, hudson.model.TaskListener listener, List<net.adamcin.granite.client.packman.PackId> packIds, boolean ignoreErrors, boolean rebuild)
public hudson.model.Result invoke(File toDirectory, hudson.remoting.VirtualChannel channel) throws IOException, InterruptedException
IOExceptionInterruptedExceptionCopyright © 2013–2019. All rights reserved.