Revision 104,
610 bytes
checked in by wojtekp, 13 years ago
(diff) |
|
-
Property svn:mime-type set to
text/plain
|
Line | |
---|
1 | package test.rewolucja.resources.properties; |
---|
2 | |
---|
3 | import java.util.Properties; |
---|
4 | |
---|
5 | import test.rewolucja.resources.physical.base.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.