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 - ConfigurationExceptionTransferExceptionArrayList<org.gcube.datatransfer.common.outcome.TreeTransferOutcome> startTransferSync(org.gcube.data.trees.patterns.Pattern patternInput, String inputSourceID, String outputStorageId)
patternInput - inputSourceID - outputStorageId - TransferExceptionString startTransfer(ArrayList<URI> inputURIs, String outputFolder, org.gcube.datatransfer.common.options.TransferOptions options) throws ConfigurationException, TransferException
inputURIs - outputFolder - options - ConfigurationExceptionTransferExceptionString startTransfer(ArrayList<URI> inputURIs, ArrayList<URI> outputURIs, org.gcube.datatransfer.common.options.TransferOptions options) throws ConfigurationException, TransferException
inputURIs - outputURIs - options - ConfigurationExceptionTransferExceptionvoid cancelTransfer(String transferId, boolean forceCancel) throws CancelTransferException
transferId - forceCancel - CancelTransferExceptionString monitorTransfer(String transferId) throws MonitorTransferException
transferId - MonitorTransferExceptionorg.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 - GetTransferOutcomesExceptionArrayList<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 - TransferExceptionConfigurationExceptionArrayList<org.gcube.datatransfer.common.outcome.FileTransferOutcome> copyLocalFiles(ArrayList<File> inputFiles, String destinationFolder, boolean overwrite, boolean unzip) throws TransferException
inputFiles - destinationFolder - overwrite - unzip - TransferExceptionCopyright © 2015. All Rights Reserved.