java.lang.Object
org.odpi.openmetadata.adapters.connectors.surveyaction.surveyfolder.layout.ProposedLayout

public class ProposedLayout extends Object
ProposedLayout is the layout proposed for a directory tree that has no layout standard, with the evidence for it. It is a proposal for a steward to confirm - nothing is enforced from it.
  • Method Details

    • getLayout

      public DirectoryLayout getLayout()
      Return the proposed layout.
      Returns:
      layout
    • getProposedTemplate

      public String getProposedTemplate()
      Return the proposed layout as a template.
      Returns:
      one path pattern per line
    • getSiblingGroups

      public List<ProposedLayout.SiblingGroup> getSiblingGroups()
      Return the groups of sibling directories that the proposal is based on.
      Returns:
      list of groups
    • getMemberCount

      public int getMemberCount()
      Return the number of sibling directories that were compared.
      Returns:
      count
    • getMatchingCount

      public int getMatchingCount()
      Return the number of sibling directories that share the most common structure of their group.
      Returns:
      count
    • getHomogeneity

      public int getHomogeneity()
      Return the percentage of the sibling directories that share the most common structure of their group. For example, 9 of 12 directories with the same contents gives 75. It is 0 if the tree has no sibling directories to compare.
      Returns:
      percentage from 0 to 100
    • getConfidence

      public int getConfidence()
      Return the confidence that the proposed layout is the intended one. It is the homogeneity, reduced when fewer than five sibling directories were compared because a pattern seen two or three times is weak evidence.
      Returns:
      percentage from 0 to 100