Ignore:
Timestamp:
02/26/13 08:41:50 (12 years ago)
Author:
wojtekp
Message:
 
Location:
DCWoRMS/branches/coolemall
Files:
1 edited
1 copied

Legend:

Unmodified
Added
Removed
  • DCWoRMS/branches/coolemall/src/dcworms/schedframe/scheduling/Executable.java

    r676 r883  
    1414import org.joda.time.DateTimeUtilsExt; 
    1515import org.joda.time.ReadableDuration; 
     16import org.qcg.broker.schemas.resreqs.ResourceConsumptionProfileType; 
    1617 
    1718 
     
    2627import schedframe.scheduling.tasks.AbstractProcessesGroup; 
    2728import schedframe.scheduling.tasks.Task; 
     29import schedframe.scheduling.tasks.phases.ResourceConsumption; 
     30import schedframe.scheduling.tasks.phases.ResourceConsumptionProfile; 
    2831import schedframe.scheduling.tasks.requirements.ResourceParameterName; 
    2932 
     
    363366                return false; 
    364367        }*/ 
     368         
     369        public ResourceConsumptionProfile getResourceConsumptionProfile(){ 
     370                return task.getResourceConsumptionProfile(); 
     371        } 
     372 
     373        private int currentPhase = 0; 
     374 
     375        public int getCurrentPhase() { 
     376                return currentPhase; 
     377        } 
     378 
     379        public void setCurrentPhase(int currentPhase) { 
     380                this.currentPhase = currentPhase; 
     381        } 
     382         
     383        public String getApplicationName(){ 
     384                return task.getApplicationName(); 
     385        } 
    365386 
    366387} 
Note: See TracChangeset for help on using the changeset viewer.