Clover coverage report - MetaClass - 1.1
Coverage timestamp: Tue Apr 27 2004 10:46:24 EST
file stats: LOC: 47   Methods: 3
NCLOC: 17   Classes: 1
30 day Evaluation Version distributed via the Maven Jar Repository. Clover is not free. You have 30 days to evaluate it. Please visit http://www.thecortex.net/clover to obtain a licensed version of Clover
 
 Source file Conditionals Statements Methods TOTAL
FilterSet.java - 100% 100% 100%
coverage
 1   
 /*
 2   
  * Copyright (C) The MetaClass Group. All rights reserved.
 3   
  *
 4   
  * This software is published under the terms of the Spice
 5   
  * Software License version 1.1, a copy of which has been included
 6   
  * with this distribution in the LICENSE.txt file.
 7   
  */
 8   
 package org.codehaus.metaclass.tools.tasks;
 9   
 
 10   
 /**
 11   
  * An Ant type representing a set of Filter definitions.
 12   
  *
 13   
  * @author Peter Donald
 14   
  * @version $Revision: 1.2 $ $Date: 2003/11/27 08:15:29 $
 15   
  */
 16   
 public class FilterSet
 17   
     extends PluginSet
 18   
 {
 19   
     /**
 20   
      * Create a Filter set.
 21   
      */
 22  62
     public FilterSet()
 23   
     {
 24  62
         super( "Filter" );
 25   
     }
 26   
 
 27   
     /**
 28   
      * Add an Filter definition that will create Filter to process metadata.
 29   
      *
 30   
      * @param element the Filter definition
 31   
      */
 32  10
     public void addFilter( final PluginElement element )
 33   
     {
 34  10
         addPlugin( element );
 35   
     }
 36   
 
 37   
     /**
 38   
      * Add a set of Filters.
 39   
      *
 40   
      * @param set the Filter set
 41   
      */
 42  4
     public void addFilterSet( final FilterSet set )
 43   
     {
 44  4
         addPluginSet( set );
 45   
     }
 46   
 }
 47