org.openbp.cockpit.plugins.finder.test
Class RefStrategy

java.lang.Object
  extended by org.openbp.cockpit.plugins.finder.test.RefStrategy
All Implemented Interfaces:
Strategy

public class RefStrategy
extends java.lang.Object
implements Strategy

Strategy for the grouping of the exclusions. At first they are sorted by the taskname, after that they are grouped by the item type of the component to exclude from the checks.

Author:
Baumgartner Michael

Constructor Summary
RefStrategy()
           
 
Method Summary
 DataMapper createDataMapper(java.lang.Object leafData)
          Create a datamapper for a data object.
 java.util.Comparator getTreeComparator()
          Get the comparator that is used in the tree.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RefStrategy

public RefStrategy()
Method Detail

createDataMapper

public DataMapper createDataMapper(java.lang.Object leafData)
Description copied from interface: Strategy
Create a datamapper for a data object.

Specified by:
createDataMapper in interface Strategy
Parameters:
leafData - The data object to map
Returns:
data mapper
See Also:
Strategy.createDataMapper(Object)

getTreeComparator

public java.util.Comparator getTreeComparator()
Description copied from interface: Strategy
Get the comparator that is used in the tree.

Specified by:
getTreeComparator in interface Strategy
Returns:
comparator or null if the tree should not be sorted
See Also:
Strategy.getTreeComparator()


Copyright © 2011. All Rights Reserved.