Add pre-execution checks with CommandHandlerExecutor to CommandHandler #242
Reference in New Issue
Block a user
Delete Branch "feat/57-pre-execution-checks-for-commandhandler"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Refactored relation with
SessionManagerandNetworkManagerby movingCommandRouterrelation fromSessionManagertoNetworkManager.Added
HandlerCheckfunctional interface to allow for pre-execution checks as both named classes and stateless lambda.Added
CommandHandlerExecutorto perform definedHandlerChecks and invoke execution ofCommandHandlerif all checks passed.Modified CommandRouter to delegate execution of
HandlerChecksandCommandHandler.Added
UserLoggedInCheckto perform check ifSessionis associated withUser, i.e. logged in.Modified guide on adding a command aswell as the deep-dive with the new components.
Closes #57
Somehow the changed filename was not pushed.
added 1 commit
e23a9817- Refactor: Rename file to match class nameCompare with previous version
aborted the automatic merge because the source branch was updated. Learn more.
added 1 commit
3de20e3d- Docs: Remove unnecessary generic type parameter in JavaDoc from execute method...Compare with previous version
mentioned in commit
795830cf02