Changeset 1247 for DCWoRMS/branches/coolemall/src/schedframe/resources/computing/StandardResourceFactory.java
- Timestamp:
- 11/28/13 10:54:54 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DCWoRMS/branches/coolemall/src/schedframe/resources/computing/StandardResourceFactory.java
r1207 r1247 1 1 package schedframe.resources.computing; 2 2 3 import schedframe.resources.CoolEmAllResourceType;4 3 import schedframe.resources.StandardResourceType; 5 4 import schedframe.resources.computing.description.ComputingResourceDescription; … … 23 22 return new Rack(resDesc); 24 23 else if (resDesc.getType().equals(StandardResourceType.Node)) 25 return new ComputingNode(resDesc);24 return new Node(resDesc); 26 25 else if (resDesc.getType().equals(StandardResourceType.Processor)) 27 26 return new Processor(resDesc); … … 30 29 else 31 30 return new ComputingResource(resDesc); 32 33 /*switch(resDesc.getType()){ 34 case Grid: return new Grid(resDesc); 35 case DataCenter: return new DataCenter(resDesc); 36 case ComputingNode: return new ComputingNode(resDesc); 37 case Processor: return new Processor(resDesc); 38 default: 39 return new ComputingResource(resDesc); 40 }*/ 31 41 32 } 42 33
Note: See TracChangeset
for help on using the changeset viewer.