com.atlassian.jira.bc.issue.watcher
Class WatcherService.BulkWatchResult

java.lang.Object
  extended by com.atlassian.jira.bc.issue.watcher.WatcherService.BulkWatchResult
Enclosing interface:
WatcherService

public static class WatcherService.BulkWatchResult
extends Object

Used to return the result of a Bulk Watch or Bulk Unwatch operation.

Since:
v6.0

Method Summary
 Collection<Pair<Issue,String>> getFailedIssues()
          Returns the details of the issues that failed the bulk watch or unwatch procedure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getFailedIssues

public Collection<Pair<Issue,String>> getFailedIssues()
Returns the details of the issues that failed the bulk watch or unwatch procedure.

Returns:
a collection of Pair of type <Issue, String> - where each Pair contains the issue that failed the operation, and a user-visible i18ned error string containing the reason for the failure. If no issues failed then this will return an empty collection.


Copyright © 2002-2013 Atlassian. All Rights Reserved.