public interface AgentService
Modifier and Type | Method and Description |
---|---|
void |
cancelTransfer(String transferId,
boolean forceCancel) |
ArrayList<org.gcube.datatransfer.common.outcome.FileTransferOutcome> |
copyLocalFiles(ArrayList<File> inputFiles,
String destinationFolder,
boolean overwrite,
boolean unzip) |
<T extends org.gcube.datatransfer.common.outcome.TransferOutcome> |
getTransferOutcomes(String transferId,
Class<T> outcomeType)
/**
|
String |
monitorTransfer(String transferId) |
org.gcube.datatransfer.common.agent.Types.MonitorTransferReportMessage |
monitorTransferWithProgress(String transferId) |
String |
startTransfer(ArrayList<URI> inputURIs,
ArrayList<URI> outputURIs,
org.gcube.datatransfer.common.options.TransferOptions options) |
String |
startTransfer(ArrayList<URI> inputURIs,
String outputFolder,
org.gcube.datatransfer.common.options.TransferOptions options) |
String |
startTransfer(DataSource source,
DataStorage storage,
org.gcube.datatransfer.common.options.TransferOptions options) |
ArrayList<org.gcube.datatransfer.common.outcome.FileTransferOutcome> |
startTransferSync(ArrayList<URI> inputURIs,
String outputFolder,
org.gcube.datatransfer.common.options.TransferOptions options) |
ArrayList<org.gcube.datatransfer.common.outcome.TreeTransferOutcome> |
startTransferSync(org.gcube.data.trees.patterns.Pattern patternInput,
String inputSourceID,
String outputStorageId) |
String startTransfer(DataSource source, DataStorage storage, org.gcube.datatransfer.common.options.TransferOptions options) throws ConfigurationException, TransferException
source
- storage
- options
- ConfigurationException
TransferException
ArrayList<org.gcube.datatransfer.common.outcome.TreeTransferOutcome> startTransferSync(org.gcube.data.trees.patterns.Pattern patternInput, String inputSourceID, String outputStorageId)
patternInput
- inputSourceID
- outputStorageId
- TransferException
String startTransfer(ArrayList<URI> inputURIs, String outputFolder, org.gcube.datatransfer.common.options.TransferOptions options) throws ConfigurationException, TransferException
inputURIs
- outputFolder
- options
- ConfigurationException
TransferException
String startTransfer(ArrayList<URI> inputURIs, ArrayList<URI> outputURIs, org.gcube.datatransfer.common.options.TransferOptions options) throws ConfigurationException, TransferException
inputURIs
- outputURIs
- options
- ConfigurationException
TransferException
void cancelTransfer(String transferId, boolean forceCancel) throws CancelTransferException
transferId
- forceCancel
- CancelTransferException
String monitorTransfer(String transferId) throws MonitorTransferException
transferId
- MonitorTransferException
org.gcube.datatransfer.common.agent.Types.MonitorTransferReportMessage monitorTransferWithProgress(String transferId) throws MonitorTransferException
transferId
- MonitorTransferException
<T extends org.gcube.datatransfer.common.outcome.TransferOutcome> ArrayList<T> getTransferOutcomes(String transferId, Class<T> outcomeType) throws GetTransferOutcomesException
transferId
- outcomeType
- GetTransferOutcomesException
ArrayList<org.gcube.datatransfer.common.outcome.FileTransferOutcome> startTransferSync(ArrayList<URI> inputURIs, String outputFolder, org.gcube.datatransfer.common.options.TransferOptions options) throws TransferException, ConfigurationException
inputURLs
- outputFolder
- type
- overwrite
- storageManagerDetails
- TransferException
ConfigurationException
ArrayList<org.gcube.datatransfer.common.outcome.FileTransferOutcome> copyLocalFiles(ArrayList<File> inputFiles, String destinationFolder, boolean overwrite, boolean unzip) throws TransferException
inputFiles
- destinationFolder
- overwrite
- unzip
- TransferException
Copyright © 2015. All Rights Reserved.