com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ProjectOnlineReader



  • public final class ProjectOnlineReader
    extends Object

    The class which provides the methods to retrieve projects from the specified Project Online account.

    • Constructor Detail

      • ProjectOnlineReader

        public ProjectOnlineReader(ProjectServerCredentials credentials)

        Initializes a new instance of the ProjectOnlineReader class.

        Parameters:
        credentials - Credentials used to connect to Project Online account.
    • Method Detail

      • getProject

        public final Project getProject(UUID projectGuid)
                                 throws Exception

        Gets the project with the specified UUID from the Project Online.

        Parameters:
        projectGuid - The UUID of the project to read.
        Returns:
        Instance of Project class which represents project read from Project Online.
        Throws:
        Exception
      • getProjectList

        public final Iterable<ProjectInfo> getProjectList()

        Gets the list of published projects in the current Project Online account.

        Returns:
        IEnumerable{T} of ProjectInfo of the published projects in the current Project Online account.
      • getProjectRawData

        public final InputStream getProjectRawData(UUID projectGuid)

        Gets the project's binary data for troubleshooting purposes.

        Parameters:
        projectGuid - The Guid of the project to read.
        Returns:
        Stream containing raw project's data.