Code Structure - Burapharux/key-job GitHub Wiki

The structure of the code is as follows: a UML class diagram

UML class diagram

Explanation

It consists of two patterns smashed together.

  1. The Strategy Pattern part - It is used mainly to extract the data out of the trigger's event and turn it into a usable string.
  2. The Observer Pattern part - It is used to send the output string from the Strategy Pattern part to all of the available platforms.