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 Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • 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: