public class IssuesCollector extends Object
| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
IssuesCollector(org.apache.maven.plugin.logging.Log log,
boolean verbose) |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected final org.apache.maven.plugin.logging.Log log
protected final boolean verbose
protected Integer maxEntries
protected Issue[] issues
public IssuesCollector(org.apache.maven.plugin.logging.Log log,
boolean verbose)
public void collect(RedmineService service, IssueCollectorConfiguration config) throws RedmineServiceException
service - redmine service to obtain datasconfig - the collector configurationRedmineServiceException - if any pb while retreave datas from redminepublic Integer getMaxEntries()
public Issue[] getIssues()
public void clearFilters()
collect(RedmineService, org.nuiton.jredmine.plugin.IssueCollectorConfiguration) method.protected void prepareFilters(RedmineService service, IssueCollectorConfiguration config) throws RedmineServiceException
service - redmine service to obtain datasconfig - the collector configurationRedmineServiceException - if any pb whiile retreaving redmine's datasprotected boolean canIncludeIssue(Issue i)
i - the issue ti testtrue if the issue can be collected, false
otherwise.Copyright © 2009–2013 CodeLutin. All rights reserved.