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,
long waitDelay,
String localDirectory,
boolean ignoreErrors,
boolean rebuild) |
| 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() |
long |
getWaitDelay() |
boolean |
isIgnoreErrors() |
boolean |
isRebuild() |
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 |
setRebuild(boolean rebuild) |
void |
setRequestTimeout(long requestTimeout) |
void |
setServiceTimeout(long serviceTimeout) |
void |
setWaitDelay(long waitDelay) |
all, getDescriptor, getRequiredMonitorService, prebuildpublic 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 long getWaitDelay()
public void setWaitDelay(long waitDelay)
public boolean isIgnoreErrors()
public boolean isRebuild()
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 setRebuild(boolean rebuild)
public void setRequestTimeout(long requestTimeout)
public void setServiceTimeout(long serviceTimeout)
public 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.BuildStepCompatibilityLayerInterruptedExceptionIOExceptionCopyright © 2013–2017. All rights reserved.