org.apache.oodt.cas.curation.policymgr
Class CurationPolicyManager
java.lang.Object
org.apache.oodt.cas.curation.policymgr.CurationPolicyManager
public class CurationPolicyManager
- extends Object
A management interface for dealing with CAS filemgr policy, and for allowing
for browsing and traversal of the staging area used in ingestion.
- Version:
- $Revision$
- Author:
- mattmann
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CurationPolicyManager
public CurationPolicyManager()
CurationPolicyManager
public CurationPolicyManager(String policyDirectoryPath,
String stagingAreaPath)
getProductTypes
public Map<String,ProductType> getProductTypes(String dsCollection)
typesToList
public List<ProductType> typesToList(Map<String,ProductType> types)
getDirectoryAreaAsJSON
public String getDirectoryAreaAsJSON(String base,
String directory,
boolean showFiles)
getExistingPoliciesAsHTML
public String getExistingPoliciesAsHTML()
getDatasetsByPolicyAsJSON
public String getDatasetsByPolicyAsJSON(String dsCollection)
getMetFileAsJSON
public String getMetFileAsJSON(String base,
String file)
writeMetFileFromJSON
public void writeMetFileFromJSON(String base,
String json)
getStagingAreaPath
public String getStagingAreaPath()
- Returns:
- the stagingAreaPath
setStagingAreaPath
public void setStagingAreaPath(String stagingAreaPath)
- Parameters:
stagingAreaPath - the stagingAreaPath to set
getPolicyDirectoryPath
public String getPolicyDirectoryPath()
- Returns:
- the policyDirectoryPath
setPolicyDirectoryPath
public void setPolicyDirectoryPath(String policyDirectoryPath)
- Parameters:
policyDirectoryPath - the policyDirectoryPath to set
Copyright © 1999-2012 Apache OODT. All Rights Reserved.