Class PrimaveraXmlSaveOptions


  • public class PrimaveraXmlSaveOptions
    extends SimpleSaveOptions

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

    • Constructor Detail

      • PrimaveraXmlSaveOptions

        public PrimaveraXmlSaveOptions()

        Initializes a new instance of the PrimaveraXmlSaveOptions class.

    • 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.