Changeset 740 for DCWoRMS/trunk


Ignore:
Timestamp:
01/03/13 16:50:30 (12 years ago)
Author:
wojtekp
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • DCWoRMS/trunk/src/simulator/stats/implementation/DCWormsStatistics.java

    r687 r740  
    467467                                        long endDate = Double.valueOf(exec.getFinishTime()).longValue() * MILLI_SEC; 
    468468 
    469                                         String uniqueTaskID = execTask.getJobId() + "_" + execTask.getId(); 
     469                                        String uniqueTaskID = getUniqueTaskId(execTask); 
    470470                                         
    471471                                        ResStat resStat = new ResStat(peName, pe.getType(), startDate, endDate, uniqueTaskID); 
     
    495495                } 
    496496                return basicResStats; 
     497        } 
     498         
     499        //change this method to adjust the colors of gantt chart 
     500        private String getUniqueTaskId(ExecTask execTask){ 
     501                return execTask.getJobId() + "_" + execTask.getId(); 
    497502        } 
    498503         
Note: See TracChangeset for help on using the changeset viewer.