public class MetadataBasedProductMover extends Object
A tool to move products based on their metadata attributes.
Modifier and Type | Field and Description |
---|---|
static double |
DOUBLE |
Constructor and Description |
---|
MetadataBasedProductMover(String pathSpec,
String fmUrl)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args) |
void |
moveProducts(ProductType type) |
void |
moveProducts(String typeName) |
public static final double DOUBLE
public MetadataBasedProductMover(String pathSpec, String fmUrl) throws InstantiationException
pathSpec
- A path specification based on the product metadata for the
final data store location.fmUrl
- A string URL to the file manager.InstantiationException
- If the passed in url is malformed.public void moveProducts(ProductType type) throws CatalogException, URISyntaxException, DataTransferException
public void moveProducts(String typeName) throws RepositoryManagerException, CatalogException, DataTransferException, URISyntaxException
public static void main(String[] args) throws URISyntaxException, CatalogException, RepositoryManagerException, DataTransferException, InstantiationException
args
- URISyntaxException
CatalogException
RepositoryManagerException
DataTransferException
InstantiationException
Copyright © 1999–2017 Apache OODT. All rights reserved.