public class FileTransferEntry extends AbstractServerObject<ServerContext> implements Cancellable
| Constructor and Description |
|---|
FileTransferEntry(ServerContext serverCtx,
FileTransferJobList jobs) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the Dialog.
|
void |
checkCancelled() |
boolean |
containsUploadJob() |
boolean |
equals(java.lang.Object o) |
int |
getDoneCountRef() |
java.lang.Exception |
getError() |
JobId |
getJobId() |
FileTransferJobList |
getJobList() |
boolean |
hasError() |
int |
hashCode() |
void |
setCurrentTask(TransferServiceTask task,
FileTransferJob job) |
void |
setDone()
Marks the next job as done by incrementing the done-counter
|
void |
setError(java.lang.Exception e) |
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.
|
void |
waitForCompletedAll()
Blocks until all jobs of a joblist have been completed
|
void |
waitForCompletedCurrent() |
boolean |
wasCancelled()
Tells whether a Dialog has been cancelled.
|
checkPermission, getServerConfig, getServerContext, getStatisticManagergetApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannelconfigureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toStringpublic FileTransferEntry(ServerContext serverCtx, FileTransferJobList jobs)
public FileTransferJobList getJobList()
public JobId getJobId()
public void setCurrentTask(TransferServiceTask task, FileTransferJob job)
public boolean wasCancelled()
CancellablewasCancelled in interface Cancellablepublic void checkCancelled()
public void cancel()
Cancellablecancel in interface Cancellablepublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean containsUploadJob()
public void waitForCompletedAll()
public void waitForCompletedCurrent()
public void setDone()
public int getDoneCountRef()
public boolean hasError()
public java.lang.Exception getError()
public void setError(java.lang.Exception e)
public ToString toString(ToString s)
DumpabletoString in interface DumpabletoString in class AbstractServerObject<ServerContext>public DumpString toDumpString(DumpString s)
DumpabletoDumpString in interface DumpabletoDumpString in class DumpableObjectCopyright © 2014 EsprIT-Systems. All Rights Reserved.