de.smartics.maven.issues.bugzilla
Class SimpleSectioner

Package class diagram package SimpleSectioner
java.lang.Object
  extended by de.smartics.maven.issues.bugzilla.SimpleSectioner
All Implemented Interfaces:
Sectioner< Sections>

public class SimpleSectioner
     
     
extends Object
implements Sectioner< Sections>

Selects the issues to their categories.

Author:
Robert Reiner

Constructor Summary
SimpleSectioner(RendererConfig config, List<org.eclipse.mylyn.tasks.core.data.TaskData> issues)
          Default constructor.
 
Method Summary
 Sections run()
          Distributes the issues to the configured sections.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleSectioner

public SimpleSectioner(RendererConfig config,
                       List<org.eclipse.mylyn.tasks.core.data.TaskData> issues)
Default constructor.

Parameters:
config - the configuration to control the processing of the sections.
issues - the issues to be appointed to the different sections.
Method Detail

run

public Sections run()
Distributes the issues to the configured sections. Issues not defining the property referenced by RendererConfig.getSectionType() are skipped as well as issues that provide a value for that property that is not part of RendererConfig.getSections().

Specified by:
run in interface Sectioner<Sections>
Returns:
the map of sections.


Copyright © 2008-2010 Kronseder & Reiner GmbH - smartics. All Rights Reserved.