As I said, the idiomatic way is to have as little opinion as possible in tasks or extensions and add the opinion like default values in the plugin that creates those extensions and / or tasks. This increases reusability.
If you really want to define the default values within the extension, you could of course make it an abstract
class instead and assign the default values in the constructor.