Class DependencyMatrix<F,T>

java.lang.Object
com.intershop.tool.architecture.report.common.project.DependencyMatrix<F,T>

public class DependencyMatrix<F,T> extends Object
A matrix containing the dependency counts between groups of elements. The elements can be anything, like Java classes, pipelines etc. Groups can be containers of elements, like Java packages or cartridges.
  • Constructor Details

    • DependencyMatrix

      public DependencyMatrix()
  • Method Details

    • addDependency

      public void addDependency(F from, T to)
      Adds a dependency to the matrix. The count will be accumulated.
      Parameters:
      from - source of dependency
      to - target of dependency
    • getDependencies

      public Map<F,Set<T>> getDependencies()
    • addDependency

      public void addDependency(F from, Collection<T> toCollection)