Class ChangesetContentDownloadTask

    • Constructor Detail

      • ChangesetContentDownloadTask

        public ChangesetContentDownloadTask​(int changesetId)
        Creates a download task for a single changeset
        Parameters:
        changesetId - the changeset id. > 0 required.
        Throws:
        java.lang.IllegalArgumentException - if changesetId <= 0
      • ChangesetContentDownloadTask

        public ChangesetContentDownloadTask​(java.util.Collection<java.lang.Integer> changesetIds)
        Creates a download task for a collection of changesets. null values and id <=0 in the collection are silently discarded.
        Parameters:
        changesetIds - the changeset ids. Empty collection assumed, if null.
      • ChangesetContentDownloadTask

        public ChangesetContentDownloadTask​(java.awt.Component parent,
                                            int changesetId)
        Creates a download task for a single changeset
        Parameters:
        parent - the parent component for the PleaseWaitDialog. Must not be null.
        changesetId - the changeset id. >0 required.
        Throws:
        java.lang.IllegalArgumentException - if changesetId <= 0
        java.lang.IllegalArgumentException - if parent is null
      • ChangesetContentDownloadTask

        public ChangesetContentDownloadTask​(java.awt.Component parent,
                                            java.util.Collection<java.lang.Integer> changesetIds)
        Creates a download task for a collection of changesets. null values and id <=0 in the collection are silently discarded.
        Parameters:
        parent - the parent component for the PleaseWaitDialog. Must not be null.
        changesetIds - the changeset ids. Empty collection assumed, if null.
        Throws:
        java.lang.IllegalArgumentException - if parent is null
    • Method Detail

      • isAvailableLocally

        protected static boolean isAvailableLocally​(int changesetId)
        Replies true if the local ChangesetCache already includes the changeset with id changesetId.
        Parameters:
        changesetId - the changeset id
        Returns:
        true if the local ChangesetCache already includes the changeset with id changesetId