public class DownloadPackagesBuilder
extends hudson.tasks.Builder
| Modifier and Type | Class and Description |
|---|---|
static class |
DownloadPackagesBuilder.DescriptorImpl |
| Constructor and Description |
|---|
DownloadPackagesBuilder(String packageIds,
String baseUrl,
String credentialsId,
long requestTimeout,
long serviceTimeout,
String localDirectory,
boolean ignoreErrors) |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseUrl() |
String |
getCredentialsId() |
String |
getLocalDirectory() |
String |
getPackageIds() |
String |
getPackageIds(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
long |
getRequestTimeout() |
long |
getServiceTimeout() |
boolean |
isIgnoreErrors() |
List<net.adamcin.granite.client.packman.PackId> |
listPackIds(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener) |
boolean |
perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener) |
void |
setBaseUrl(String baseUrl) |
void |
setCredentialsId(String credentialsId) |
void |
setIgnoreErrors(boolean ignoreErrors) |
void |
setLocalDirectory(String localDirectory) |
void |
setPackageIds(String packageIds) |
void |
setRequestTimeout(long requestTimeout) |
void |
setServiceTimeout(long serviceTimeout) |
all, getDescriptor, getRequiredMonitorService, prebuildgetProjectAction, getProjectAction, getProjectActions, perform, prebuildpublic boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
perform in interface hudson.tasks.BuildStepperform in class hudson.tasks.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionpublic String getPackageIds()
public String getPackageIds(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getCredentialsId()
public void setCredentialsId(String credentialsId)
public List<net.adamcin.granite.client.packman.PackId> listPackIds(hudson.model.AbstractBuild<?,?> build, hudson.model.TaskListener listener) throws IOException, InterruptedException
IOExceptionInterruptedExceptionpublic String getBaseUrl()
public long getRequestTimeout()
public long getServiceTimeout()
public boolean isIgnoreErrors()
public String getLocalDirectory()
public void setLocalDirectory(String localDirectory)
public void setPackageIds(String packageIds)
public void setBaseUrl(String baseUrl)
public void setIgnoreErrors(boolean ignoreErrors)
public void setRequestTimeout(long requestTimeout)
public void setServiceTimeout(long serviceTimeout)
Copyright © 2013-2014. All Rights Reserved.