themoonsheep / moonsheep

Moonsheep digitizes huge, messy paper and PDF archives through crowdsourcing and cutting edge technology.
http://moonsheep.org
GNU Affero General Public License v3.0
9 stars 3 forks source link

Define tasks for Opora #93

Closed KrzysztofMadejski closed 6 years ago

KrzysztofMadejski commented 6 years ago

Tasks:

Create an abstract interface/class ITask/AbstractTask that will be implemented (by let's say DoSomethingTask) and will have methods such as:

It would be a specific implementation of #83 configuration flow - "How to define tasks?"

--

Verifying data

AbstractTask::verify(task_runs) - by default it implements verification by equals on all fields