[
https://issues.apache.org/jira/browse/OODT-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12971151#action_12971151
]
Chris A. Mattmann commented on OODT-84:
---------------------------------------
Hey Brian: question about this. Shoudn't copyProduct be part of
o.a.oodt.cas.filemgr.system.XmlRpcFileManager instead of making it part of
o.a.oodt.cas.filemgr.datatransfer.DataTransfer?
> Ability for File Manager to stage an ingested Product to one of its clients
> ---------------------------------------------------------------------------
>
> Key: OODT-84
> URL: https://issues.apache.org/jira/browse/OODT-84
> Project: OODT
> Issue Type: New Feature
> Components: file manager
> Affects Versions: 0.1-incubating
> Environment: none
> Reporter: Brian Foster
> Assignee: Brian Foster
> Priority: Minor
> Fix For: 0.2
>
>
> - This patch will introduce the following method to DataTransfer:
> {noformat}
> /**
> * Requires that the data store reference be set, nothing else is used
> * @param product The product whose data store reference will be copied
> * @param directory The directory where the data store reference will
> be copied to
> * @throws DataTransferException
> * If a general error occurs during the transfer.
> * @throws IOException
> * If there is an IO error when performing the transfer.
> */
> public void copyProduct(Product product, File directory) throws
> DataTransferException,
> IOException;
> {noformat}
> - There will also be a new File Manager client command line option introduced:
> {noformat}
> --copyProduct (--productId <id> | --productName <name>) --destPath
> <directory> [--transferer <factory-class>]
> {noformat}
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.