net.sf.clirr.checks
Class RemovedClassCheck

java.lang.Object
  extended bynet.sf.clirr.framework.AbstractDiffReporter
      extended bynet.sf.clirr.checks.AbstractClassSetChangeCheck
          extended bynet.sf.clirr.checks.RemovedClassCheck
All Implemented Interfaces:
ClassSetChangeCheck

public final class RemovedClassCheck
extends net.sf.clirr.checks.AbstractClassSetChangeCheck

Checks whether a class/interface has been removed from the public API.

Author:
lkuehne

Constructor Summary
RemovedClassCheck(ApiDiffDispatcher dispatcher)
          Create a new instance of this check.
 
Method Summary
 void check(org.apache.bcel.util.ClassSet compatBaseline, org.apache.bcel.util.ClassSet currentVersion)
          Checks for changes etween two sets of classes.
protected  void compareClassNameSets(java.lang.String[] setA, java.lang.String[] setB, java.lang.String diffPrefix, Severity severity)
           
 
Methods inherited from class net.sf.clirr.framework.AbstractDiffReporter
getApiDiffDispatcher, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemovedClassCheck

public RemovedClassCheck(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 void check(org.apache.bcel.util.ClassSet compatBaseline,
                  org.apache.bcel.util.ClassSet currentVersion)
Checks for changes etween two sets of classes.

Parameters:
compatBaseline - the classes of the compatibility baseline
currentVersion - the classes of the current software version

compareClassNameSets

protected final void compareClassNameSets(java.lang.String[] setA,
                                          java.lang.String[] setB,
                                          java.lang.String diffPrefix,
                                          Severity severity)


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