PrimaveraXmlSaveOptions

Inheritance: java.lang.Object, com.aspose.tasks.SimpleSaveOptions

public class PrimaveraXmlSaveOptions extends SimpleSaveOptions

Allows to specify additional options when saving project to Primavera xml format.

Constructors

ConstructorDescription
PrimaveraXmlSaveOptions()Initializes a new instance of the PrimaveraXmlSaveOptions class.

Methods

MethodDescription
getSaveRootTask()Gets a value indicating whether to save a root task or not.
getSkipSummaryAssignments()Gets a value indicating whether assignments of resources to summary tasks should be skipped during export.
setSaveRootTask(boolean value)Sets a value indicating whether to save a root task or not.
setSkipSummaryAssignments(boolean value)Sets a value indicating whether assignments of resources to summary tasks should be skipped during export.

PrimaveraXmlSaveOptions()

public PrimaveraXmlSaveOptions()

Initializes a new instance of the PrimaveraXmlSaveOptions class.

getSaveRootTask()

public final boolean getSaveRootTask()

Gets a value indicating whether to save a root task or not.

Returns: boolean - a value indicating whether to save a root task or not.

getSkipSummaryAssignments()

public final boolean getSkipSummaryAssignments()

Gets a value indicating whether assignments of resources to summary tasks should be skipped during export.

Primavera software doesn’t support assignments of resources to summary (WBS) tasks. Thus, export of such assignments can result in an invalid file according to Primavera’s model. If true, assignments to summary tasks are skipped during export. If false (the default value), an exception will be thrown if assignment to a summary task is encountered during export.

Returns: boolean - a value indicating whether assignments of resources to summary tasks should be skipped during export.

setSaveRootTask(boolean value)

public final void setSaveRootTask(boolean value)

Sets a value indicating whether to save a root task or not.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether to save a root task or not.

setSkipSummaryAssignments(boolean value)

public final void setSkipSummaryAssignments(boolean value)

Sets a value indicating whether assignments of resources to summary tasks should be skipped during export.

Primavera software doesn’t support assignments of resources to summary (WBS) tasks. Thus, export of such assignments can result in an invalid file according to Primavera’s model. If true, assignments to summary tasks are skipped during export. If false (the default value), an exception will be thrown if assignment to a summary task is encountered during export.

Parameters:

ParameterTypeDescription
valuebooleana value indicating whether assignments of resources to summary tasks should be skipped during export.