com.atlassian.jira.project
Class RemoteProjectService.RemoteProjectsResult

java.lang.Object
  extended by com.atlassian.jira.project.RemoteProjectService.RemoteProjectsResult
Enclosing interface:
RemoteProjectService

public static final class RemoteProjectService.RemoteProjectsResult
extends Object


Constructor Summary
RemoteProjectService.RemoteProjectsResult(List<RemoteProject> projects, Collection<UnauthorisedAppLink> unauthorisedAppLinks, Collection<String> connectionErrors)
           
 
Method Summary
 Collection<String> getConnectionErrors()
          If any errors occurred during connection to remote servers, these are included here.
 List<RemoteProject> getProjects()
          Returns the remote projects that were successfully retrieved.
 Collection<UnauthorisedAppLink> getUnauthorisedAppLinks()
          Returns any app links that the user has to authenticate with before we can make requests.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RemoteProjectService.RemoteProjectsResult

public RemoteProjectService.RemoteProjectsResult(List<RemoteProject> projects,
                                                 Collection<UnauthorisedAppLink> unauthorisedAppLinks,
                                                 Collection<String> connectionErrors)
Method Detail

getProjects

public List<RemoteProject> getProjects()
Returns the remote projects that were successfully retrieved.

Returns:
the remote projects that were successfully retrieved.

getUnauthorisedAppLinks

public Collection<UnauthorisedAppLink> getUnauthorisedAppLinks()
Returns any app links that the user has to authenticate with before we can make requests.

Returns:
any app links that the user has to authenticate with before we can make requests.

getConnectionErrors

public Collection<String> getConnectionErrors()
If any errors occurred during connection to remote servers, these are included here.

Returns:
a list of error messages for any server connection problems.


Copyright © 2002-2014 Atlassian. All Rights Reserved.