|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.fuin.units4j.AssertDependencies
public final class AssertDependencies
Assertion tool class for checking dependencies.
| Method Summary | |
|---|---|
static void |
assertRules(java.lang.Class<?> clasz,
java.lang.String dependenciesFilePathAndName,
java.io.File classesDir)
Asserts that a set of dependency rules is kept. |
static void |
assertRules(Dependencies dependencies,
java.io.File classesDir)
Asserts that a set of dependency rules is kept. |
static void |
assertRules(java.io.File file,
java.io.File classesDir)
Asserts that a set of dependency rules is kept. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static final void assertRules(Dependencies dependencies,
java.io.File classesDir)
dependencies - Definition of allowed or forbidden dependencies - Cannot be
null.classesDir - Directory with the ".class" files to check - Cannot be
null and must be a valid directory.
public static final void assertRules(java.io.File file,
java.io.File classesDir)
file - The XML rules file - Cannot be null and must be a
valid file.classesDir - Directory with the ".class" files to check - Cannot be
null and must be a valid directory.
public static final void assertRules(java.lang.Class<?> clasz,
java.lang.String dependenciesFilePathAndName,
java.io.File classesDir)
clasz - Class to use for loading the resource - Cannot be
null.dependenciesFilePathAndName - XML resource (path/name) with allowed or forbidden
dependencies - Cannot be null.classesDir - Directory with the ".class" files to check - Cannot be
null and must be a valid directory.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||