rj.tools.jcsc.sorter
Class SeveritySorter

java.lang.Object
  |
  +--rj.tools.jcsc.sorter.SeveritySorter
All Implemented Interfaces:
ViolationsSorter

public class SeveritySorter
extends java.lang.Object
implements ViolationsSorter

Sorts the list of violations according to the severity of each occurence.

Version:
$Revision: 1.1 $
Author:
Ralph Jocham

Constructor Summary
SeveritySorter()
           
 
Method Summary
 void setViolations(java.util.List violations)
          Set the List of violations to be sorted
 void sort()
          Sort the List of violations
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SeveritySorter

public SeveritySorter()
Method Detail

setViolations

public void setViolations(java.util.List violations)
Set the List of violations to be sorted
Specified by:
setViolations in interface ViolationsSorter
Parameters:
violations -  

sort

public void sort()
Sort the List of violations
Specified by:
sort in interface ViolationsSorter


(c) 1999-2004 by Ralph Jocham (rjocham72@netscape.net)
JCSC is released under the terms of the GNU General Public License