Package org.duracloud.mill.dup.util
Class DefaultPolicyGenerator
java.lang.Object
org.duracloud.mill.dup.util.DefaultPolicyGenerator
The default policy generator will connect to a DuraCloud account and create
a default duplication policy by assuming that all spaces in the primary
store (except admin space of the x-* variety) should be duplicated to all
secondary stores.
- Author:
- Bill Branan Date: 11/7/13
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateDefaultDupPolicy(String account, String rootPass) static void
-
Constructor Details
-
DefaultPolicyGenerator
public DefaultPolicyGenerator()
-
-
Method Details
-
createDefaultDupPolicy
public DuplicationPolicy createDefaultDupPolicy(String account, String rootPass) throws org.duracloud.error.ContentStoreException - Throws:
org.duracloud.error.ContentStoreException
-
main
- Throws:
Exception
-