public class FileTransferJobList extends TransferableObject implements java.lang.Iterable<FileTransferJob>
Constructor and Description |
---|
FileTransferJobList(AgentId agentId,
boolean isTransferZipped) |
Modifier and Type | Method and Description |
---|---|
void |
addJob(FileTransferJob job) |
void |
checkClientEntries(ClientContext clientCtx) |
void |
checkServerEntries(ServerContext serverCtx) |
void |
clearJobs() |
void |
commitOnClient() |
void |
commitOnServer() |
boolean |
equals(java.lang.Object obj)
Note that two jobs are considered to be the same if they have got the same name
|
void |
finished() |
int |
getCurrentIndex() |
FileTransferJob |
getCurrentJob() |
long |
getDuration() |
FileTransferJob |
getJob(int i) |
int |
getJobCount() |
JobId |
getJobId() |
java.lang.String |
getJobName() |
long |
getTotalBytes() |
long |
getTotalFileSize() |
boolean |
hasDownloadJob() |
int |
hashCode() |
boolean |
hasUploadJob() |
boolean |
isTransferZipped() |
java.util.Iterator<FileTransferJob> |
iterator() |
void |
rollbackOnClient() |
void |
rollbackOnServer() |
void |
setCurrentIndex(int jobIndex) |
void |
setJobs(FileTransferJobList confirmedJobs) |
void |
setRollbackEnabled(boolean isRollbackEnabled) |
void |
setTransferZipped(boolean isZipped) |
void |
started() |
DumpString |
toDumpString(DumpString s)
This method allows subclasses to add values to the existing DumpString of the superclass.
|
ToString |
toString(ToString s)
This method allows subclasses to add values to the existing ToString of the superclass.
|
clone, deepClone
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public FileTransferJobList(AgentId agentId, boolean isTransferZipped)
public java.util.Iterator<FileTransferJob> iterator()
iterator
in interface java.lang.Iterable<FileTransferJob>
public void clearJobs()
public boolean isTransferZipped()
public void setTransferZipped(boolean isZipped)
public void setRollbackEnabled(boolean isRollbackEnabled)
public JobId getJobId()
public int getJobCount()
public java.lang.String getJobName()
public void checkClientEntries(ClientContext clientCtx) throws java.lang.Exception
java.lang.Exception
public void checkServerEntries(ServerContext serverCtx) throws ServerException
ServerException
public FileTransferJob getCurrentJob()
public FileTransferJob getJob(int i)
public void addJob(FileTransferJob job)
public void setCurrentIndex(int jobIndex)
public int getCurrentIndex()
public void started()
public void finished()
public long getDuration()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public void setJobs(FileTransferJobList confirmedJobs)
public void rollbackOnClient()
public void rollbackOnServer()
public void commitOnClient() throws java.lang.Exception
java.lang.Exception
public void commitOnServer() throws java.lang.Exception
java.lang.Exception
public long getTotalFileSize()
public boolean hasUploadJob()
public boolean hasDownloadJob()
public long getTotalBytes()
public ToString toString(ToString s)
Dumpable
toString
in interface Dumpable
toString
in class DumpableObject
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.