public abstract class AbstractDownloader extends Object
| Constructor and Description |
|---|
AbstractDownloader() |
| Modifier and Type | Method and Description |
|---|---|
protected String |
convertFilterPattern(String filter)
Convert the filter pattern from a multi-line String to a comma delimited string.
|
abstract boolean |
getSource(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.BuildListener listener,
File changelogFile,
String filterPattern)
Download the mainframe sources specified in the Jenkins configuration.
|
protected String |
wrapInQuotes(String text)
Wrap a string in quotes.
|
protected String convertFilterPattern(String filter)
filter - the dataset filterprotected String wrapInQuotes(String text)
text - the string to wrap in quotespublic abstract boolean getSource(hudson.model.AbstractBuild<?,?> build,
hudson.Launcher launcher,
hudson.FilePath workspaceFilePath,
hudson.model.BuildListener listener,
File changelogFile,
String filterPattern)
throws InterruptedException,
IOException
launcher - The machine that the files will be checked out.workspaceFilePath - a directory to check out the source code.listener - Build listenerchangelogFile - Upon a successful return, this file should capture the changelog. When there's no change, this file should
contain an empty entryfilterPattern - Source filter patternboolean if the build was successfulIOExceptionInterruptedExceptionCopyright © 2016. All rights reserved.