Class PrimaveraXmlSaveOptions
- java.lang.Object
-
- com.aspose.tasks.SimpleSaveOptions
-
- com.aspose.tasks.PrimaveraXmlSaveOptions
-
public class PrimaveraXmlSaveOptions extends SimpleSaveOptions
Allows to specify additional options when saving project to Primavera xml format.
-
-
Constructor Summary
Constructors Constructor Description PrimaveraXmlSaveOptions()Initializes a new instance of thePrimaveraXmlSaveOptionsclass.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleangetSaveRootTask()Gets a value indicating whether to save a root task or not.booleangetSkipSummaryAssignments()Gets a value indicating whether assignments of resources to summary tasks should be skipped during export.voidsetSaveRootTask(boolean value)Sets a value indicating whether to save a root task or not.voidsetSkipSummaryAssignments(boolean value)Sets a value indicating whether assignments of resources to summary tasks should be skipped during export.-
Methods inherited from class com.aspose.tasks.SimpleSaveOptions
getSaveFormat, getTasksComparer, getTasksFilter, setTasksComparer, setTasksFilter
-
-
-
-
Constructor Detail
-
PrimaveraXmlSaveOptions
public PrimaveraXmlSaveOptions()
Initializes a new instance of the
PrimaveraXmlSaveOptionsclass.
-
-
Method Detail
-
getSaveRootTask
public final boolean getSaveRootTask()
Gets a value indicating whether to save a root task or not.
- Returns:
- a value indicating whether to save a root task or not.
-
setSaveRootTask
public final void setSaveRootTask(boolean value)
Sets a value indicating whether to save a root task or not.
- Parameters:
value- 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:
- a value indicating whether assignments of resources to summary tasks should be skipped during export.
-
setSkipSummaryAssignments
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:
value- a value indicating whether assignments of resources to summary tasks should be skipped during export.
-
-