TinaTiel / obs-chatbot

GNU General Public License v3.0
3 stars 0 forks source link

RunnableAction and RunnableActionFactory #47

Closed TinaTiel closed 3 years ago

TinaTiel commented 3 years ago

Instead of having (mutable) actions that may/may-not need to ever run (e.g., JPA entities combined with logic), we should separate it out so that we have a container instead.

Action:

RunnableAction:

We could then create a Factory that takes a (mutable) Action and CommandRequestContext and creates a runnable version for the specific request context.

TinaTiel commented 3 years ago

Not liking the implementation as it is, reopening to reexamine....