private void readAssignments ( Project project ) { Project . Assignments assignments = project . getAssignments ( ) ; if ( assignments != null ) { SplitTaskFactory splitFactory = new SplitTaskFactory ( ) ; TimephasedWorkNormaliser normaliser = new MSPDITimephasedWorkNormaliser ( ) ; for ( Project . Assignments . Assignment assignment : assignments . getAssignment ( ) ) { readAssignment ( assignment , splitFactory , normaliser ) ; } } }
This method extracts assignment data from an MSPDI file .