kitodo / kitodo-production

Kitodo.Production is a workflow management tool for mass digitization and is part of the Kitodo Digital Library Suite.
http://www.kitodo.org/software/kitodoproduction/
GNU General Public License v3.0
64 stars 63 forks source link

Improve main #6052

Closed matthias-ronge closed 6 months ago

matthias-ronge commented 6 months ago

The main class was well hidden as KitodoVersionListener. I renamed it to KitodoProduction and moved it. (Git doesn't get this on top of each other and show them as new, but it is from the previous class KitodoVersionListener. If you look at the individual commits, it becomes more understandable.) The instance exposes its essential properties, and the main class now handles essential functions of starting and stopping Active MQ and stopping the task manager, that was previously scattered throughout the application. The version is now no longer returned statically, but rather out of the main class.

I find it tidier this way.