|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.seventytwomiles.architecturerules.services.RulesServiceImpl
public class RulesServiceImpl
Drives the tests by reading the configuration then asserting each defined
Rule.
AbstractArchitecturalRules| Constructor Summary | |
|---|---|
RulesServiceImpl(Configuration configuration)
Instantiates a new RulesService which will begin reading
all the configured sources |
|
| Method Summary | |
|---|---|
boolean |
performRulesTest()
Assert that no Rule in the given Configuration
has been violated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RulesServiceImpl(Configuration configuration)
throws SourceNotFoundException,
NoPackagesFoundException
Instantiates a new RulesService which will begin reading
all the configured sources
configuration - Configuration
SourceNotFoundException - when an required source directory does
not exist and when exception="true" in the source
configuration
NoPackagesFoundException - when none of the source directories
exist and no-packages="ignore" in the sources
configuration| Method Detail |
|---|
public boolean performRulesTest()
Assert that no Rule in the given Configuration
has been violated.
performRulesTest in interface RulesService
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||