org.jenkinsci.plugins.graniteclient
Class DownloadPackagesBuilder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Builder
org.jenkinsci.plugins.graniteclient.DownloadPackagesBuilder
- All Implemented Interfaces:
- hudson.ExtensionPoint, hudson.model.Describable<hudson.tasks.Builder>, hudson.tasks.BuildStep
public class DownloadPackagesBuilder
- extends hudson.tasks.Builder
Implementation of the "Download Content Packages from CRX" build step
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep |
hudson.tasks.BuildStep.PublisherList |
Nested classes/interfaces inherited from interface hudson.ExtensionPoint |
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson |
Fields inherited from interface hudson.tasks.BuildStep |
BUILDERS, PUBLISHERS |
Methods inherited from class hudson.tasks.Builder |
all, getDescriptor, getRequiredMonitorService, prebuild |
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer |
getProjectAction, getProjectAction, getProjectActions, perform, prebuild |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface hudson.tasks.BuildStep |
getProjectAction, getProjectActions, prebuild |
DownloadPackagesBuilder
@DataBoundConstructor
public DownloadPackagesBuilder(String packageIds,
String baseUrl,
String credentialsId,
long requestTimeout,
long serviceTimeout,
long waitDelay,
String localDirectory,
boolean ignoreErrors,
boolean rebuild)
perform
public boolean perform(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.model.BuildListener listener)
throws InterruptedException,
IOException
- Specified by:
perform
in interface hudson.tasks.BuildStep
- Overrides:
perform
in class hudson.tasks.BuildStepCompatibilityLayer
- Throws:
InterruptedException
IOException
getPackageIds
public String getPackageIds()
getPackageIds
public String getPackageIds(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getCredentialsId
public String getCredentialsId()
setCredentialsId
public void setCredentialsId(String credentialsId)
listPackIds
public List<net.adamcin.granite.client.packman.PackId> listPackIds(hudson.model.AbstractBuild<?,?> build,
hudson.model.TaskListener listener)
throws IOException,
InterruptedException
- Throws:
IOException
InterruptedException
getBaseUrl
public String getBaseUrl()
getRequestTimeout
public long getRequestTimeout()
getServiceTimeout
public long getServiceTimeout()
getWaitDelay
public long getWaitDelay()
setWaitDelay
public void setWaitDelay(long waitDelay)
isIgnoreErrors
public boolean isIgnoreErrors()
isRebuild
public boolean isRebuild()
getLocalDirectory
public String getLocalDirectory()
setLocalDirectory
public void setLocalDirectory(String localDirectory)
setPackageIds
public void setPackageIds(String packageIds)
setBaseUrl
public void setBaseUrl(String baseUrl)
setIgnoreErrors
public void setIgnoreErrors(boolean ignoreErrors)
setRebuild
public void setRebuild(boolean rebuild)
setRequestTimeout
public void setRequestTimeout(long requestTimeout)
setServiceTimeout
public void setServiceTimeout(long serviceTimeout)
Copyright © 2013-2014. All Rights Reserved.