isolate configuration extraction for testing
better task interface

rename isEnabled() to getConfiguration(), and make it returns the task
configuration, instead of setting it, for testing purpose
no need for two distinct methods
perform all task configuration in a single place
no need for this warning anymore