public class DownloadJob extends ListJob<FileListDataItem>
ListJob.FilterStreamDataTransferJob.FileNameHandler, TransferJob.FileTypeHandler, TransferJob.FileTypeJob<T>, TransferJob.JobRepeateRemoverdefaultArchivingCompressionData, fzu, lastUpdateToSize, mainTransferCompressionData, needsRecurse, size, sizeInBytesdirectoriesdestination, directoryCount, jobFailureReason, repeatRemover, transferUniqueID| Constructor and Description |
|---|
DownloadJob(java.util.List<FileListDataItem> files,
java.lang.String remoteFilename,
java.lang.String transferUniqueID,
boolean needsRecurse,
boolean isProgressive)
Instantiates a new download job.
|
DownloadJob(java.util.Set<FileListDataItem> files,
java.lang.String remoteFilename,
java.lang.String transferUniqueID,
boolean needsRecurse,
boolean isProgressive) |
DownloadJob(TransferJob.FileTypeJob<FileListDataItem> parent) |
| Modifier and Type | Method and Description |
|---|---|
TransferAsJob<FileListDataItem> |
getAsJobEquivalent(FileListDataItem aFile,
java.lang.String currentWorkingDirectory)
Returns the TransferAs job equivalent of this job.
|
protected long |
getFileSize(java.util.Set<FileListDataItem> list)
Returns the combined file size for the Set provided.
|
void |
getHandledBy(JobHandler handler,
FileTransferMechanism client)
Gets the handled by.
|
FileListData |
getNewListInstance()
Returns a new List instance for the generic type that this class is
|
java.util.Set<FileListDataItem> |
getNewSetInstance()
Returns a new Set instance for the job.
|
protected TransferJob |
getNextJob()
Gets the next job.
|
unlimited.fc.client.api.multiclient.transferJob.ZipJob |
getPendingZipJob(CompressionData defaultArchivingCompressionData,
CompressionData mainTransferCompressionData)
Gets the pending zip job.
|
protected boolean |
instanceOf(TransferJob job)
Returns whether or not the supplied TransferJob is and instance of this TransferJob
|
boolean |
isUpload()
Returns whether or not this job is an upload job or a download job
|
addJob, addSizes, addSizes, addWork, applyFilter, applyFilterHandler, clear, countDirectories, decrementDirectory, getFiles, getFileSetCopy, getFilesSet, getJobSizeInBytes, getNewFilterStreamData, getNextJobSizeInBytes, getNextList, incrementDirectoryCount, isNeedsRecurse, needsSplit, removeCachedWork, removeDuplicates, removeFile, removeNextFile, removeRepeatFilesFrom, removeSizes, removeSizes, removeWork, setNeedsRecurse, size, startAsynchSizeUpdating, stillHasWork, stopSizeUpdating, stream, toString, updateSizeInBytes, useAutoArchiveSettingsdirectories, getUUIDForFile, normalizeDestinationapplyFilter, buildListJob, compareTo, getClientID, getClone, getDestination, getDisplayName, getEmptyClone, getFailureReason, getNumOfRetries, getPriority, getTransferUniqueID, getUUID, hasFiles, isFlaggedForDelta, isLastJobInQueue, isProgressive, removeRepeatWorkFrom, resetFlagForDelta, retried, setClientID, setFailureReason, setIsLastJobInQueue, setPriority, setProgressive, similarJobTopublic DownloadJob(TransferJob.FileTypeJob<FileListDataItem> parent)
public DownloadJob(java.util.List<FileListDataItem> files, java.lang.String remoteFilename, java.lang.String transferUniqueID, boolean needsRecurse, boolean isProgressive)
files - the filesremoteFilename - the remote filenametransferUniqueID - the transfer unique idneedsRecurse - the needs recursepublic DownloadJob(java.util.Set<FileListDataItem> files, java.lang.String remoteFilename, java.lang.String transferUniqueID, boolean needsRecurse, boolean isProgressive)
public void getHandledBy(JobHandler handler, FileTransferMechanism client)
TransferJobgetHandledBy in class TransferJobhandler - the handlerclient - the clientpublic unlimited.fc.client.api.multiclient.transferJob.ZipJob getPendingZipJob(CompressionData defaultArchivingCompressionData, CompressionData mainTransferCompressionData)
TransferJobgetPendingZipJob in class TransferJobdefaultArchivingCompressionData - the default archiving compression datamainTransferCompressionData - the main transfer compression dataprotected TransferJob getNextJob()
TransferJobgetNextJob in class TransferJobprotected long getFileSize(java.util.Set<FileListDataItem> list)
ListJobgetFileSize in class ListJob<FileListDataItem>list - Files to check for sizepublic java.util.Set<FileListDataItem> getNewSetInstance()
ListJobgetNewSetInstance in class ListJob<FileListDataItem>protected boolean instanceOf(TransferJob job)
TransferJobinstanceOf in class TransferJobjob - Job to check forpublic FileListData getNewListInstance()
TransferJob.FileTypeJobgetNewListInstance in class ListJob<FileListDataItem>public TransferAsJob<FileListDataItem> getAsJobEquivalent(FileListDataItem aFile, java.lang.String currentWorkingDirectory)
TransferJob.FileTypeJobgetAsJobEquivalent in class TransferJob.FileTypeJob<FileListDataItem>public boolean isUpload()
TransferJobisUpload in class TransferJobCopyright © 2006 - 2022 - HelpSystems LLC All Rights Reserved.