diff --git a/src/jdepend/framework/JDepend.java b/src/jdepend/framework/JDepend.java index b400174..acf8de7 100755 --- a/src/jdepend/framework/JDepend.java +++ b/src/jdepend/framework/JDepend.java @@ -170,6 +170,16 @@ public void setComponents(String components) { } } + /** + * Sets the list of components from a List of string package names. + * + * @param components within the list + */ + public void setComponents(List components) { + this.components = new ArrayList(); + this.components.addAll(components); + } + /** * Determines whether inner classes are analyzed. *