Class DefaultPolicyGenerator

java.lang.Object
org.duracloud.mill.dup.util.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 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

      public static void main(String[] args) throws Exception
      Throws:
      Exception