Revision 477,
555 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 | import schedframe.Parameters; |
---|
| 4 | |
---|
| 5 | public interface ResourceUnit { |
---|
| 6 | |
---|
| 7 | public ResourceUnitName getName(); |
---|
| 8 | |
---|
| 9 | public ResourceUnitType getResourceUnitType(); |
---|
| 10 | |
---|
| 11 | public String getResourceId(); |
---|
| 12 | |
---|
| 13 | public int getFreeAmount() ; |
---|
| 14 | |
---|
| 15 | public int getUsedAmount(); |
---|
| 16 | |
---|
| 17 | public int getAmount(); |
---|
| 18 | |
---|
| 19 | public void setUsedAmount(int amount); |
---|
| 20 | |
---|
| 21 | public ResourceUnit toDiscrete() throws ClassNotFoundException; |
---|
| 22 | |
---|
| 23 | public void init(Parameters parameters); |
---|
| 24 | |
---|
| 25 | public Parameters getParameters(); |
---|
| 26 | |
---|
| 27 | public ResourceUnitProvisioner getProvisioner(); |
---|
| 28 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.