You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 26, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+22Lines changed: 22 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,3 +9,25 @@ This library is all about helping with the common little problems like having a
9
9
## Usage
10
10
A lot of examples on how to use the classes can be found in the UnitTests. The whole collection is extensively tested and therefore quite stable.
11
11
Feel free to contribute, suggest changes or help make it better.
12
+
13
+
## Contents
14
+
You'll get following groups of classes which are interdependent
15
+
16
+
### Data
17
+
This part consists of two distinct classes:
18
+
* Data is a data store where you can easily store and retrieve data.
19
+
* DataCollection ist a container to house items like objects, iterable.
20
+
21
+
### Config
22
+
Here you get a static factory which is able to produce three types of configuration objects, based on Data class. All config objects take yaml files as source and provide easy access via get/set methods. See UnitTests for examples.
* ConfigEnv - provides the possibility to get an environment-merged config. Based on the currently provided env, you'll have e.g. prod -> dev merged, with prod node as a master.
26
+
* ConfigTimer is a specialised for of config to provide pre-generated DateTime objects for the Timer class.
27
+
28
+
### Timer
29
+
Provides functionality to check if there's a current holiday, has configurable "timers" to check uf e.g. your hotline should be available etc.
30
+
Extensive examples can be found within both, the TestData and UnitTests :-)
31
+
32
+
### Test
33
+
TestData is just a helper for providing configurations for either Config and Timer. Have a look for YAML config examples.
0 commit comments