Revision 477,
608 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Rev | Line | |
---|
[477] | 1 | package schedframe.resources.computing.properties; |
---|
| 2 | |
---|
| 3 | import java.util.Properties; |
---|
| 4 | |
---|
| 5 | import schedframe.resources.computing.ComputingResource; |
---|
| 6 | |
---|
| 7 | public class PropertiesDirector { |
---|
| 8 | PropertiesBuilder propBuilder; |
---|
| 9 | |
---|
| 10 | public void setPropertiesBuilder(PropertiesBuilder pb) { |
---|
| 11 | propBuilder = pb; |
---|
| 12 | } |
---|
| 13 | |
---|
| 14 | public Properties getProperties() { |
---|
| 15 | return propBuilder.getProperties(); |
---|
| 16 | } |
---|
| 17 | |
---|
| 18 | public void constructProperties(ComputingResource resource) { |
---|
| 19 | propBuilder.createProperties(resource); |
---|
| 20 | propBuilder.buildBasicProperties(); |
---|
| 21 | propBuilder.buildCharacteristicsProperties(); |
---|
| 22 | propBuilder.buildDescriptionProperties(); |
---|
| 23 | } |
---|
| 24 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.