public final class ProjectServerSaveOptions extends Object
Allows to specify additional options when project is saved to Project Server or Project Online.
Constructor and Description |
---|
ProjectServerSaveOptions()
Initializes a new instance of the
ProjectServerSaveOptions class. |
Modifier and Type | Method and Description |
---|---|
double |
getPollingInterval()
Gets interval between queue job status requests.
|
UUID |
getProjectGuid()
Gets unique identifier of a project.
|
String |
getProjectName()
Gets name of a project which is displayed in Project Server \ Project Online projects list.
|
double |
getTimeout()
Gets timeout used when waiting for processing of save project request by a Project Server's queue processing
service.
|
void |
setPollingInterval(double value)
Sets interval between queue job status requests.
|
void |
setProjectGuid(UUID value)
Sets unique identifier of a project.
|
void |
setProjectName(String value)
Sets name of a project which is displayed in Project Server \ Project Online projects list.
|
void |
setTimeout(double value)
Sets timeout used when waiting for processing of save project request by a Project Server's queue processing
service.
|
public ProjectServerSaveOptions()
Initializes a new instance of the ProjectServerSaveOptions
class.
public final double getPollingInterval()
Gets interval between queue job status requests. The default value is 2 seconds.
public final void setPollingInterval(double value)
Sets interval between queue job status requests. The default value is 2 seconds.
value
- interval between queue job status requests.public final UUID getProjectGuid()
Gets unique identifier of a project. Should be unique within Project Server \ Project Online instance.
public final void setProjectGuid(UUID value)
Sets unique identifier of a project. Should be unique within Project Server \ Project Online instance.
value
- unique identifier of a project.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.
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.
value
- name of a project which is displayed in Project Server \ Project Online projects list.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.
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.
value
- timeout used when waiting for processing of save project request by a Project Server's queue
processing service.Copyright (c) 2008-2020 Aspose Pty Ltd. All Rights Reserved.