Package com.atlassian.jira.project
Class RemoteProjectService.RemoteProjectsResult
java.lang.Object
com.atlassian.jira.project.RemoteProjectService.RemoteProjectsResult
- Enclosing interface:
- RemoteProjectService
-
Constructor Summary
ConstructorsConstructorDescriptionRemoteProjectsResult(List<RemoteProject> projects, Collection<UnauthorisedAppLink> unauthorisedAppLinks, Collection<String> connectionErrors) -
Method Summary
Modifier and TypeMethodDescriptionIf any errors occurred during connection to remote servers, these are included here.Returns the remote projects that were successfully retrieved.Returns any app links that the user has to authenticate with before we can make requests.
-
Constructor Details
-
RemoteProjectsResult
public RemoteProjectsResult(List<RemoteProject> projects, Collection<UnauthorisedAppLink> unauthorisedAppLinks, Collection<String> connectionErrors)
-
-
Method Details
-
getProjects
Returns the remote projects that were successfully retrieved.- Returns:
- the remote projects that were successfully retrieved.
-
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
If any errors occurred during connection to remote servers, these are included here.- Returns:
- a list of error messages for any server connection problems.
-