- Timestamp:
- 10/31/12 13:52:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/trunk/build/classes/schedframe/scheduling/tasks/TaskInterface.java
r477 r539 6 6 import org.joda.time.ReadableDuration; 7 7 8 import schedframe.DescriptionContainer; 8 9 import schedframe.scheduling.tasks.requirements.ResourceParameterName; 9 10 … … 14 15 * 15 16 */ 16 public interface TaskInterface<T> extends WorkloadUnit <T> {17 public interface TaskInterface<T> extends WorkloadUnit, DescriptionContainer<T> { 17 18 18 19 /** … … 20 21 * @return task identifier 21 22 */ 22 public abstract String getId();23 //public abstract String getId(); 23 24 24 25 /** … … 33 34 * submitted this task. 34 35 */ 35 public abstract String getUserD n();36 public abstract String getUserDN(); 36 37 37 38 /** … … 87 88 */ 88 89 public long getLength(); 89 90 /** 91 * 92 * @param length measured in instructions. 93 */ 94 public void setLength(long length); 95 90 96 91 /** 97 92 * 98 93 * @return constant which represent current task status 99 94 */ 100 public int getStatus();95 //public int getStatus(); 101 96 102 97 … … 107 102 public List<AbstractProcesses> getProcesses(AbstractProcessesGroup processGroup); 108 103 109 public void setStatus(int status) throws Exception;104 //public void setStatus(int status) throws Exception; 110 105 111 106 public double getCpuCntRequest() throws NoSuchFieldException; … … 114 109 115 110 public long getWorkloadLogWaitTime(); 116 117 //public void addToResPath(String resName); 118 119 //public String getResPath(); 111 120 112 121 113 }
Note: See TracChangeset
for help on using the changeset viewer.