|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.jredmine.plugin.IssuesCollector
public class IssuesCollector
A class to collect some issues due to given filters.
| Field Summary | |
|---|---|
protected List<Integer> |
categoryIds
the list of category ids collected |
protected Issue[] |
issues
the list of issues collected |
protected org.apache.maven.plugin.logging.Log |
log
logger |
protected Integer |
maxEntries
to restrict on number of entries to collect |
protected List<Integer> |
priorityIds
the list of priority ids collected |
protected List<Integer> |
statusIds
the list of status ids collected |
protected List<Integer> |
trackerIds
the list of tracker ids collected |
protected boolean |
verbose
verbose flag |
protected List<Integer> |
versionIds
the list of version ids collected |
| Constructor Summary | |
|---|---|
IssuesCollector(org.apache.maven.plugin.logging.Log log,
boolean verbose)
|
|
| Method Summary | |
|---|---|
protected boolean |
canIncludeIssue(Issue i)
Test if a given issue can be collected. |
void |
clearFilters()
clean all internal states. |
void |
collect(RedmineService service,
IssueCollectorConfiguration config)
Collects the issues given the configuration passed. |
List<Integer> |
getCategoryIds()
|
Issue[] |
getIssues()
|
Integer |
getMaxEntries()
|
List<Integer> |
getPriorityIds()
|
List<Integer> |
getStatusIds()
|
List<Integer> |
getTrackerIds()
|
List<Integer> |
getVersionIds()
|
protected void |
prepareFilters(RedmineService service,
IssueCollectorConfiguration config)
Prepare the collector filters due to the given collector configuration. |
protected List<Integer> |
toIntegerList(String[] strIds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected final org.apache.maven.plugin.logging.Log log
protected final boolean verbose
protected Integer maxEntries
protected List<Integer> versionIds
protected List<Integer> priorityIds
protected List<Integer> statusIds
protected List<Integer> categoryIds
protected List<Integer> trackerIds
protected Issue[] issues
| Constructor Detail |
|---|
public IssuesCollector(org.apache.maven.plugin.logging.Log log,
boolean verbose)
| Method Detail |
|---|
public void collect(RedmineService service,
IssueCollectorConfiguration config)
throws RedmineServiceException
service - redmine service to obtain datasconfig - the collector configuration
RedmineServiceException - if any pb while retreave datas from redminepublic Integer getMaxEntries()
public List<Integer> getPriorityIds()
public List<Integer> getStatusIds()
public List<Integer> getCategoryIds()
public List<Integer> getVersionIds()
public List<Integer> getTrackerIds()
public Issue[] getIssues()
public void clearFilters()
collect(org.nuiton.jredmine.RedmineService, org.nuiton.jredmine.plugin.IssueCollectorConfiguration) method.
protected void prepareFilters(RedmineService service,
IssueCollectorConfiguration config)
throws RedmineServiceException
service - redmine service to obtain datasconfig - the collector configuration
RedmineServiceException - if any pb whiile retreaving redmine's datasprotected boolean canIncludeIssue(Issue i)
i - the issue ti test
true if the issue can be collected, false
otherwise.protected List<Integer> toIntegerList(String[] strIds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||