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, getStatisticManager
getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel
configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toString
public FileTransferEntry(ServerContext serverCtx, FileTransferJobList jobs)
public FileTransferJobList getJobList()
public JobId getJobId()
public void setCurrentTask(TransferServiceTask task, FileTransferJob job)
public boolean wasCancelled()
Cancellable
wasCancelled
in interface Cancellable
public void checkCancelled()
public void cancel()
Cancellable
cancel
in interface Cancellable
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public 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)
Dumpable
toString
in interface Dumpable
toString
in class AbstractServerObject<ServerContext>
public DumpString toDumpString(DumpString s)
Dumpable
toDumpString
in interface Dumpable
toDumpString
in class DumpableObject
Copyright © 2014 EsprIT-Systems. All Rights Reserved.