question: private void populateCompletedActivitiSteps ( Job job , List < HistoricActivityInstance > historicActivitiTasks ) { List < WorkflowStep > completedWorkflowSteps = new ArrayList < > ( ) ; for ( HistoricActivityInstance historicActivityInstance : historicActivitiTasks ) { completedWorkflowSteps . add ( new WorkflowStep ( historicActivityInstance . getActivityId ( ) , historicActivityInstance . getActivityName ( ) , HerdDateUtils . getXMLGregorianCalendarValue ( historicActivityInstance . getStartTime ( ) ) , HerdDateUtils . getXMLGregorianCalendarValue ( historicActivityInstance . getEndTime ( ) ) ) ) ; } job . setCompletedWorkflowSteps ( completedWorkflowSteps ) ; }
target:  Populates the job Object with completed workflow steps.