properties-utility-class
Create utility class that offers properties.
That class should feed with program arguments if any. The path to property file or properties can be passed as program parameters. The utility class has to manage both situations.
If file with properties not available and no properties as programm arguments were applied, default properties should be used.
Blueprint information
- Status:
- Complete
- Approver:
- None
- Priority:
- Undefined
- Drafter:
- None
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Pending Approval
- Series goal:
- None
- Implementation:
- Implemented
- Milestone target:
- None
- Started by
- Izabela Superson
- Completed by
- Wojciech Żywno
Related branches
Related bugs
Sprints
Whiteboard
for tests:
- if we want to run program with default properties, we should call it without any arguments
- if we want to run program with properties loaded from a file, first we should put an argument "-f" and then a path to a file (e.g. "-f basic.properties")
- if we want to run program with properties readed from a command line, first we should put an argument "-p" and then the name of a property and a value (e.g. "-p ThreadsInLocalW