com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ProjectServerSaveOptions



  • public final class ProjectServerSaveOptions
    extends Object

    Allows to specify additional options when project is saved to Project Server or Project Online.

    • Constructor Detail

      • ProjectServerSaveOptions

        public ProjectServerSaveOptions()

        Initializes a new instance of the ProjectServerSaveOptions class.

    • Method Detail

      • getPollingInterval

        public final double getPollingInterval()

        Gets interval between queue job status requests. The default value is 2 seconds.

        Returns:
        interval between queue job status requests.
      • setPollingInterval

        public final void setPollingInterval(double value)

        Sets interval between queue job status requests. The default value is 2 seconds.

        Parameters:
        value - interval between queue job status requests.
      • getProjectGuid

        public final UUID getProjectGuid()

        Gets unique identifier of a project. Should be unique within Project Server \ Project Online instance.

        Returns:
        unique identifier of a project.
      • setProjectGuid

        public final void setProjectGuid(UUID value)

        Sets unique identifier of a project. Should be unique within Project Server \ Project Online instance.

        Parameters:
        value - unique identifier of a project.
      • getProjectName

        public final String getProjectName()

        Gets name of a project which is displayed in Project Server \ Project Online projects list. Should be unique within Project Server \ Project Online instance. Is the value is omitted, the value of Prj.Name property will be used instead.

        Returns:
        name of a project which is displayed in Project Server \ Project Online projects list.
      • setProjectName

        public final void setProjectName(String value)

        Sets name of a project which is displayed in Project Server \ Project Online projects list. Should be unique within Project Server \ Project Online instance. Is the value is omitted, the value of Prj.Name property will be used instead.

        Parameters:
        value - name of a project which is displayed in Project Server \ Project Online projects list.
      • getTimeout

        public final double getTimeout()

        Gets timeout used when waiting for processing of save project request by a Project Server's queue processing service. The default value for this property is 1 minute.


        The processing time may be longer for large projects or in case when Project Server instance is too busy responding to other requests.
        Returns:
        timeout used when waiting for processing of save project request by a Project Server's queue processing service.
      • setTimeout

        public final void setTimeout(double value)

        Sets timeout used when waiting for processing of save project request by a Project Server's queue processing service. The default value for this property is 1 minute.


        The processing time may be longer for large projects or in case when Project Server instance is too busy responding to other requests.
        Parameters:
        value - timeout used when waiting for processing of save project request by a Project Server's queue processing service.