01: package com.kirkk.analyzer.framework;
02:
03: import java.util.List;
04:
05: public interface Jar {
06:
07: public abstract List getAllContainedPackages();
08:
09: public abstract List getAllExternallyReferencedPackages();
10:
11: public abstract int getPackageCount();
12:
13: public abstract int getAbstractClassCount();
14:
15: public abstract int getClassCount();
16:
17: public abstract String getJarFileName();
18:
19: public abstract void addPackage(JarPackage jarPackage);
20:
21: public abstract JarPackage getPackage(String packageName);
22:
23: public abstract boolean containsPackage(String packageName);
24:
25: public abstract List getOutgoingDependencies();
26:
27: public abstract List getIncomingDependencies();
28:
29: public abstract List getAllUnidentifiableExternallyReferencedPackages();
30:
31: public boolean hasCycles();
32:
33: public List getCyclicJars();
34:
35: public void addOutgoingDependency(Jar jar);
36:
37: public void addIncomingDependency(Jar jar);
38:
39: public void addCyclicJar(Jar jar);
40:
41: public JarMetrics calculateMetrics();
42: }
|