Class IssueIdsIssueIterable

  extended by com.atlassian.jira.issue.util.IssueIdsIssueIterable
All Implemented Interfaces:
IssuesIterable, Sized

public class IssueIdsIssueIterable
extends Object
implements IssuesIterable

Constructor Summary
IssueIdsIssueIterable(Collection issueIds, IssueFactory issueFactory, IssueManager issueManager)
Method Summary
 IssueIterator iterator()
 int size()
 String toString()
          Return a user friendly message that identifies which issues this iterable holds.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public IssueIdsIssueIterable(Collection issueIds,
                             IssueFactory issueFactory,
                             IssueManager issueManager)
Method Detail


public IssueIterator iterator()
Specified by:
iterator in interface IssuesIterable


public int size()
Specified by:
size in interface Sized


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
toString in class Object

Copyright © 2002-2009 Atlassian. All Rights Reserved.