[ https://issues.apache.org/jira/browse/DROIDS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12833929#action_12833929 ]
Richard Frovarp commented on DROIDS-78: --------------------------------------- Where should this be added? I'm thinking that adding it to the Task interface would be the best place. This way all workers can be updated to abort if the flag has been raised. > Be able to abort a task > ----------------------- > > Key: DROIDS-78 > URL: https://issues.apache.org/jira/browse/DROIDS-78 > Project: Droids > Issue Type: New Feature > Components: core > Affects Versions: 0.01 > Reporter: Richard Frovarp > Priority: Minor > > It would be handy to be able to abort a task. I imagine it being used in > conjunction with a WorkMonitor. A dev could perform a test in beforeExecute > and abort running the task if something is found. I would like to abort > downloading and processing pdf's, doc's and similar type files if they > haven't changed since the last crawl. I'll try to work up a patch over the > next week. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.