public class FileTransferProgressMonitor extends AbstractTransferProgressMonitor
MSG_TRANSFER_CANCELLED, MSG_TRANSFER_NOT_FOUND
Constructor and Description |
---|
FileTransferProgressMonitor() |
Modifier and Type | Method and Description |
---|---|
protected Writer |
createUnderlyingLogWriter(String transferId) |
InputStream |
getLogInputStream(String transferId) |
TransferProgress |
getProgressInternal(String transferId) |
void |
setLogDirectory(String logDirectoryPath) |
void |
setTransferStatusDao(TransferStatusDAO dao) |
protected void |
storeError(String transferId,
Throwable error) |
void |
updateProgressInternal(String transferId,
int currPos) |
void |
updateProgressInternal(String transferId,
int currPos,
int endPos) |
protected void |
updateStatusInternal(String transferId,
TransferProgress.Status status) |
getProgress, logComment, logCreated, logDeleted, logException, logMoved, logUpdated, setTransactionService, updateProgress, updateProgress, updateStatus
public void setTransferStatusDao(TransferStatusDAO dao)
public void setLogDirectory(String logDirectoryPath)
public InputStream getLogInputStream(String transferId) throws TransferException
TransferException
public TransferProgress getProgressInternal(String transferId) throws TransferException
getProgressInternal
in class AbstractTransferProgressMonitor
TransferException
public void updateProgressInternal(String transferId, int currPos) throws TransferException
updateProgressInternal
in class AbstractTransferProgressMonitor
TransferException
public void updateProgressInternal(String transferId, int currPos, int endPos) throws TransferException
updateProgressInternal
in class AbstractTransferProgressMonitor
TransferException
protected void updateStatusInternal(String transferId, TransferProgress.Status status) throws TransferException
updateStatusInternal
in class AbstractTransferProgressMonitor
TransferException
protected Writer createUnderlyingLogWriter(String transferId)
createUnderlyingLogWriter
in class AbstractTransferProgressMonitor
protected void storeError(String transferId, Throwable error)
storeError
in class AbstractTransferProgressMonitor
Copyright © 2005–2017 Alfresco Software. All rights reserved.