com.taskadapter.redmineapi
Class RedmineIssuesMap

java.lang.Object
  extended by com.taskadapter.redmineapi.RedmineIssuesMap

public class RedmineIssuesMap
extends Object

Utility class to help convert flat list of Redmine issues to a tree-like structure.

Author:
Alexey Skorokhodov

Constructor Summary
RedmineIssuesMap(List<Issue> list)
           
 
Method Summary
 List<Issue> getChildren(Issue redmineParentIssue)
           
protected  HashMap<Integer,Issue> getIssuesMap()
           
 List<Issue> getRootLevelTasks()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RedmineIssuesMap

public RedmineIssuesMap(List<Issue> list)
Method Detail

getIssuesMap

protected HashMap<Integer,Issue> getIssuesMap()

getRootLevelTasks

public List<Issue> getRootLevelTasks()

getChildren

public List<Issue> getChildren(Issue redmineParentIssue)


Copyright © 2012. All Rights Reserved.