net.sf.clirr.core.internal.checks
Class ClassHierarchyCheck

java.lang.Object
  extended by net.sf.clirr.core.internal.AbstractDiffReporter
      extended by net.sf.clirr.core.internal.checks.ClassHierarchyCheck
All Implemented Interfaces:
ClassChangeCheck

public final class ClassHierarchyCheck
extends AbstractDiffReporter
implements ClassChangeCheck

Detects changes in the set of superclasses.

Author:
lkuehne

Constructor Summary
ClassHierarchyCheck(ApiDiffDispatcher dispatcher)
          Create a new instance of this check.
 
Method Summary
 boolean check(JavaType compatBaseline, JavaType currentVersion)
          
 
Methods inherited from class net.sf.clirr.core.internal.AbstractDiffReporter
getApiDiffDispatcher, getSeverity, getSeverity, getSeverity, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassHierarchyCheck

public ClassHierarchyCheck(ApiDiffDispatcher dispatcher)
Create a new instance of this check.

Parameters:
dispatcher - the diff dispatcher that distributes the detected changes to the listeners.
Method Detail

check

public boolean check(JavaType compatBaseline,
                     JavaType currentVersion)

Specified by:
check in interface ClassChangeCheck


Copyright © 2003-2005 Lars Kühne. All Rights Reserved.