public class ChangesetHeaderDownloadTask extends AbstractChangesetDownloadTask
ChangesetCache
.Modifier and Type | Class and Description |
---|---|
(package private) class |
ChangesetHeaderDownloadTask.DownloadTask |
AbstractChangesetDownloadTask.RunnableDownloadTask
downloadedData
Constructor and Description |
---|
ChangesetHeaderDownloadTask(java.util.Collection<java.lang.Integer> ids)
Creates the download task for a collection of changeset ids.
|
ChangesetHeaderDownloadTask(java.awt.Component dialogParent,
java.util.Collection<java.lang.Integer> ids)
Creates the download task for a collection of changeset ids.
|
ChangesetHeaderDownloadTask(java.awt.Component dialogParent,
java.util.Collection<java.lang.Integer> ids,
boolean includeDiscussion)
Creates the download task for a collection of changeset ids, with possibility to download changeset discussion.
|
Modifier and Type | Method and Description |
---|---|
static ChangesetHeaderDownloadTask |
buildTaskForChangesets(java.util.Collection<Changeset> changesets)
Builds a download task from for a collection of changesets.
|
static ChangesetHeaderDownloadTask |
buildTaskForChangesets(java.awt.Component parent,
java.util.Collection<Changeset> changesets)
Builds a download task from for a collection of changesets.
|
cancel, download, download, getConfirmationMessage, loadUrl, setDownloadTask
acceptsDocumentationSummary, acceptsUrl, acceptsUrl, getDownloadedData, getErrorObjects, getPatterns, getTitle, isCanceled, isFailed, isSafeForRemotecontrolRequests, rememberDownloadedData, rememberErrorMessage, rememberException, setCanceled, setFailed, toString
public ChangesetHeaderDownloadTask(java.util.Collection<java.lang.Integer> ids)
PleaseWaitDialog
whose parent is Main.parent
.
Null ids or or ids <= 0 in the id collection are ignored.ids
- the collection of ids. Empty collection assumed if null.public ChangesetHeaderDownloadTask(java.awt.Component dialogParent, java.util.Collection<java.lang.Integer> ids)
PleaseWaitDialog
whose parent is the parent window of dialogParent
.
Null ids or or ids <= 0 in the id collection are ignored.dialogParent
- the parent reference component for the PleaseWaitDialog
. Must not be null.ids
- the collection of ids. Empty collection assumed if null.java.lang.IllegalArgumentException
- if dialogParent is nullpublic ChangesetHeaderDownloadTask(java.awt.Component dialogParent, java.util.Collection<java.lang.Integer> ids, boolean includeDiscussion)
PleaseWaitDialog
whose parent is the parent window of dialogParent
.
Null ids or or ids <= 0 in the id collection are ignored.dialogParent
- the parent reference component for the PleaseWaitDialog
. Must not be null.ids
- the collection of ids. Empty collection assumed if null.includeDiscussion
- determines if discussion comments must be downloaded or notjava.lang.IllegalArgumentException
- if dialogParent is nullpublic static ChangesetHeaderDownloadTask buildTaskForChangesets(java.util.Collection<Changeset> changesets)
Changeset.isNew()
== true.changesets
- the collection of changesets. Assumes an empty collection if null.public static ChangesetHeaderDownloadTask buildTaskForChangesets(java.awt.Component parent, java.util.Collection<Changeset> changesets)
Changeset.isNew()
== true.parent
- the parent component relative to which the PleaseWaitDialog
is displayed.
Must not be null.changesets
- the collection of changesets. Assumes an empty collection if null.java.lang.IllegalArgumentException
- if parent is null