com.seventytwomiles.architecturerules.services
Class CyclicRedundencyServiceImpl

java.lang.Object
  extended by com.seventytwomiles.architecturerules.services.CyclicRedundencyServiceImpl
All Implemented Interfaces:
CyclicRedundencyService

public class CyclicRedundencyServiceImpl
extends java.lang.Object
implements CyclicRedundencyService

Checks for cyclic redundency among app packages in the source folders.

Author:
mikenereson
See Also:
AbstractArchitecturalRules

Constructor Summary
CyclicRedundencyServiceImpl(Configuration configuraiton)
          Constructor instantiates a new CyclicRedundencyService
 
Method Summary
 void performCyclicRedundencyCheck()
          Check all the packages in all of the source directories and search for any cyclic redundenc/p>
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyclicRedundencyServiceImpl

public CyclicRedundencyServiceImpl(Configuration configuraiton)

Constructor instantiates a new CyclicRedundencyService

Parameters:
configuraiton - Configuration which contains the source directories to inspect
Throws:
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 configuraiton
Method Detail

performCyclicRedundencyCheck

public void performCyclicRedundencyCheck()

Check all the packages in all of the source directories and search for any cyclic redundenc/p>

Specified by:
performCyclicRedundencyCheck in interface CyclicRedundencyService


Copyright © 2007. All Rights Reserved.