com.atlassian.jira.issue.util
Class DatabaseIssuesIterable
java.lang.Object
com.atlassian.jira.issue.util.DatabaseIssuesIterable
- All Implemented Interfaces:
- IssuesIterable
public class DatabaseIssuesIterable
- extends Object
- implements IssuesIterable
Method Summary |
IssueIterator |
iterator()
|
int |
size()
You cannot rely on this size after you have started iterating through the issues |
String |
toString()
Return a user friendly message that identifies which issues this iterable holds. |
DatabaseIssuesIterable
public DatabaseIssuesIterable(OfBizDelegator delegator,
IssueFactory issueFactory)
iterator
public IssueIterator iterator()
- Specified by:
iterator
in interface IssuesIterable
size
public int size()
- You cannot rely on this size after you have started iterating through the issues
- Specified by:
size
in interface IssuesIterable
toString
public String toString()
- Description copied from interface:
IssuesIterable
- Return a user friendly message that identifies which issues this iterable holds.
If there is a problem, this method is used to log what issues are affected.
For example, if there is a problem locking the Lucene index this method is used to log
which issues could not be reindexed.
Hence, it is important to provide a useful implementation for this method.
- Specified by:
toString
in interface IssuesIterable
- Overrides:
toString
in class Object
Copyright © 2002-2007 Atlassian. All Rights Reserved.