Interface DuplicationPolicyRepo

All Known Implementing Classes:
LocalDuplicationPolicyRepo, S3DuplicationPolicyRepo, SwiftDuplicationPolicyRepo

public interface DuplicationPolicyRepo
Provides a connection to a duplication policy repository, which is essentially a storage location for the policy files used to define how duplication is to be handled for DuraCloud accounts.
Author:
Bill Branan Date: 10/31/13
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    The expected name of the file which contains the listing of accounts that need duplication actions to occur.
    static final String
    The expected filename suffix of all files which define a duplication policy for an account.
  • Method Summary

    Modifier and Type
    Method
    Description
    Provides a listing of DuraCloud accounts which require duplication.
    Provides the duplication policy for a given account
  • Field Details

    • DUP_ACCOUNTS_NAME

      static final String DUP_ACCOUNTS_NAME
      The expected name of the file which contains the listing of accounts that need duplication actions to occur.
      See Also:
    • DUP_POLICY_SUFFIX

      static final String DUP_POLICY_SUFFIX
      The expected filename suffix of all files which define a duplication policy for an account.
      See Also:
  • Method Details

    • getDuplicationAccounts

      InputStream getDuplicationAccounts()
      Provides a listing of DuraCloud accounts which require duplication. Accounts are identified using their subdomain value.
      Returns:
    • getDuplicationPolicy

      InputStream getDuplicationPolicy(String account)
      Provides the duplication policy for a given account
      Parameters:
      account -
      Returns: