Commands

BTT commands provide a generalized navigation framework to maximize the reusage of businesses and transactions.

Command interface is the central interface for all entity classes

All entity classes in the toolkit will implement command interface, this means you can reuse your entity everywhere.

Everything inside the component is generalized

In this toolkit, all interface are generalized as following:

Command <ContextType, ReturnType, Exception Type>

All the execute method is defined as follows:

ReturnType execute(ContextType context) throws ExceptionType

Rich Level of the executable units

As the following figure shows, BTT Commands have three levels and will be enriched at future version.

This figure shows BTT Commands have three levels.