java.lang.Object
org.duracloud.account.monitor.duplication.domain.DuplicationReport

public class DuplicationReport extends Object
This class contains a report detailing space duplication status for a set of DuraCloud accounts.
Author:
Bill Branan Date: 4/16/13
  • Constructor Details

    • DuplicationReport

      public DuplicationReport()
  • Method Details

    • addDupInfo

      public void addDupInfo(String host, DuplicationInfo info)
      This method adds details for the duplication status at a given host.
      Parameters:
      host - host of account
      info - duplication information
    • getDupInfos

      public Map<String,DuplicationInfo> getDupInfos()
      This method gets all duplication infos for all accounts.
      Returns:
      map of account to instance info
    • getDupIssues

      public List<DuplicationInfo> getDupIssues()
      This method gets all issues discovered for all checked accounts
      Returns:
      list of duplication infos with issues
    • hasIssues

      public boolean hasIssues()
      This method returns true if at least one account duplication info indicates that issues were encountered
      Returns:
      true if any errors exist in DuraCloud instance Store Reporters
    • toString

      public String toString()
      Overrides:
      toString in class Object