Class DefaultPolicyGenerator


  • public class DefaultPolicyGenerator
    extends Object
    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 Detail

      • DefaultPolicyGenerator

        public DefaultPolicyGenerator()
    • Method Detail

      • createDefaultDupPolicy

        public DuplicationPolicy createDefaultDupPolicy​(String account,
                                                        String rootPass)
                                                 throws org.duracloud.error.ContentStoreException
        Throws:
        org.duracloud.error.ContentStoreException