Revision 477,
742 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[477] | 1 | package schedframe.resources.units; |
---|
| 2 | |
---|
| 3 | |
---|
| 4 | public enum StandardResourceUnitName implements ResourceUnitName{ |
---|
| 5 | |
---|
| 6 | |
---|
| 7 | /** |
---|
| 8 | * Constant MEMORY |
---|
| 9 | */ |
---|
| 10 | MEMORY("memory"), |
---|
| 11 | |
---|
| 12 | /** |
---|
| 13 | * Constant CPU |
---|
| 14 | */ |
---|
| 15 | CPU("cpu"), |
---|
| 16 | |
---|
| 17 | /** |
---|
| 18 | * Constant GPU |
---|
| 19 | */ |
---|
| 20 | GPU("gpu"), |
---|
| 21 | |
---|
| 22 | /** |
---|
| 23 | * Constant CPUSPEED |
---|
| 24 | */ |
---|
| 25 | CPUSPEED("cpuspeed"), |
---|
| 26 | |
---|
| 27 | /** |
---|
| 28 | * Constant APPLICATION |
---|
| 29 | */ |
---|
| 30 | APPLICATION("application"), |
---|
| 31 | |
---|
| 32 | /** |
---|
| 33 | * Constant STORAGE |
---|
| 34 | */ |
---|
| 35 | STORAGE("storage"), |
---|
| 36 | |
---|
| 37 | COST("cost"), |
---|
| 38 | |
---|
| 39 | PE("processingElement"); |
---|
| 40 | |
---|
| 41 | |
---|
| 42 | private final String name; |
---|
| 43 | |
---|
| 44 | private StandardResourceUnitName(String value) { |
---|
| 45 | this.name = value; |
---|
| 46 | } |
---|
| 47 | |
---|
| 48 | public String getName(){ |
---|
| 49 | return this.name; |
---|
| 50 | } |
---|
| 51 | |
---|
| 52 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.