public interface TransferReporter
Modifier and Type | Method and Description |
---|---|
org.alfresco.service.cmr.repository.NodeRef |
createTransferReport(String transferName,
Exception e,
TransferTarget target,
TransferDefinition definition,
List<TransferEvent> events,
File snapshotFile)
Create a transfer report of failure
|
org.alfresco.service.cmr.repository.NodeRef |
createTransferReport(String transferName,
Transfer transfer,
TransferTarget target,
TransferDefinition definition,
List<TransferEvent> events,
File snapshotFile)
Create a transfer report of success
|
org.alfresco.service.cmr.repository.NodeRef |
writeDestinationReport(String transferName,
TransferTarget target,
File tempFile)
Write the destination transfer report into the local repo.
|
org.alfresco.service.cmr.repository.NodeRef createTransferReport(String transferName, Transfer transfer, TransferTarget target, TransferDefinition definition, List<TransferEvent> events, File snapshotFile)
transferName
- - the unique name of this transfer - probably based upon the time of transfer.transfer
- the transfer.target
- the target of the transferdefinition
- the definition of the transferevents
- the transfer events generated by the transfer.snapshotFile
- the snapshot fileorg.alfresco.service.cmr.repository.NodeRef createTransferReport(String transferName, Exception e, TransferTarget target, TransferDefinition definition, List<TransferEvent> events, File snapshotFile)
transferName
- - the unique name of this transfer - probably based upon the time of transfer.e
- the exceptiontarget
- the target of the transferdefinition
- the definition of the transferevents
- snapshotFile
- the snapshot fileorg.alfresco.service.cmr.repository.NodeRef writeDestinationReport(String transferName, TransferTarget target, File tempFile)
transferName
- the unique name of this transfer - probably based upon the time of transfer.target
- the target of the transfertempFile
- the temporary file containing the contents of the destination side transfer report.Copyright © 2005–2017 Alfresco Software. All rights reserved.