public final class ProjectOnlineReader extends Object
The class which provides the methods to retrieve projects from the specified Project Online account.
Constructor and Description |
---|
ProjectOnlineReader(ProjectServerCredentials credentials)
Initializes a new instance of the
ProjectOnlineReader class. |
Modifier and Type | Method and Description |
---|---|
Project |
getProject(UUID projectGuid)
Gets the project with the specified
UUID from the Project Online. |
Iterable<ProjectInfo> |
getProjectList()
Gets the list of published projects in the current Project Online account.
|
InputStream |
getProjectRawData(UUID projectGuid)
Gets the project's binary data for troubleshooting purposes.
|
public ProjectOnlineReader(ProjectServerCredentials credentials)
Initializes a new instance of the ProjectOnlineReader
class.
credentials
- Credentials used to connect to Project Online account.public final Project getProject(UUID projectGuid) throws Exception
Gets the project with the specified UUID
from the Project Online.
public final Iterable<ProjectInfo> getProjectList()
Gets the list of published projects in the current Project Online account.
IEnumerable{T}
of ProjectInfo
of the published projects in the current Project Online
account.public final InputStream getProjectRawData(UUID projectGuid)
Gets the project's binary data for troubleshooting purposes.
projectGuid
- The Guid of the project to read.