Indeed, only one generic argument for tasks and nodes is supported.
Unfortunately there is no good way around it if you want to use the generic argument for the enum.
Here is a solution though for having a BBParameter which type can be set through the inspector panel after the task has been created.
There is this special BBObjectParameter that can be used for that: