You are viewing a plain text version of this content. The canonical link for it is here.
Posted to droids-dev@incubator.apache.org by "Richard Frovarp (JIRA)" <ji...@apache.org> on 2010/02/19 21:56:28 UTC
[jira] Updated: (DROIDS-78) Be able to abort a task
[ https://issues.apache.org/jira/browse/DROIDS-78?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Richard Frovarp updated DROIDS-78:
----------------------------------
Attachment: abortable-task.diff
Adds abort option to tasks. Updated TaskMasters to support the new option. abort() only prevents the execution of a task, it does not stop an already executing task.
> 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
> Attachments: abortable-task.diff
>
>
> 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.