com.seventytwomiles.architecturerules.services
Class CyclicRedundancyServiceImpl

java.lang.Object
  extended by com.seventytwomiles.architecturerules.services.CyclicRedundancyServiceImpl
All Implemented Interfaces:
CyclicRedundancyService

public class CyclicRedundancyServiceImpl
extends java.lang.Object
implements CyclicRedundancyService

Checks for cyclic redundancy among application packages in the source folders.

Author:
mikenereson
See Also:
AbstractArchitecturalRules

Constructor Summary
CyclicRedundancyServiceImpl(Configuration configuration)
          Constructor instantiates a new CyclicRedundancyService
 
Method Summary
 void performCyclicRedundancyCheck()
          Check all the packages in all of the source directories and search for any cyclic redundancy
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CyclicRedundancyServiceImpl

public CyclicRedundancyServiceImpl(Configuration configuration)

Constructor instantiates a new CyclicRedundancyService

Parameters:
configuration - 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 configuration
Method Detail

performCyclicRedundancyCheck

public void performCyclicRedundancyCheck()

Check all the packages in all of the source directories and search for any cyclic redundancy

Specified by:
performCyclicRedundancyCheck in interface CyclicRedundancyService


Copyright © 2008. All Rights Reserved.