ologolo / streamline-api

Provides an API for managing file conversions
GNU Lesser General Public License v2.1
0 stars 1 forks source link

TaskOption and TaskOptionValue should implement equals #3

Closed joeha480 closed 7 years ago

joeha480 commented 8 years ago

As TaskOption and TaskOptionValue are used when selecting a TaskGroup, they need to implement equals.

joeha480 commented 7 years ago

A related issue is that the TaskGroupFactoryManager uses a string (instead of the specification object) as key when getting a factory. This string includes locale, input and output format, but not required options. This isn't compatible with providing several task groups with the same locale and input/output, but different required options (i.e. purpose).