Maybe this class would be more suitable implemented in the build flow plugin.