public static final class

RemoteProjectService.RemoteProjectsResult

extends Object
java.lang.Object
   ↳ com.atlassian.jira.project.RemoteProjectService.RemoteProjectsResult

Summary

Public Constructors
RemoteProjectService.RemoteProjectsResult(List<RemoteProject> projects, Collection<UnauthorisedAppLink> unauthorisedAppLinks, Collection<String> connectionErrors)
Public Methods
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.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

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

Public Methods

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.

public List<RemoteProject> getProjects ()

Returns the remote projects that were successfully retrieved.

Returns
  • the remote projects that were successfully retrieved.

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.