[ 
https://issues.apache.org/jira/browse/LABS-197?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12639186#action_12639186
 ] 

Ryan McKinley commented on LABS-197:
------------------------------------

{panel}
Brainstorming:
Maybe we need as well a getState() which will return one of
PENDING_STATE = "pending";
RUNNING_STATE="running"; 
...
{panel}

I'm not sure we could enumerate all the states various plugins could want to 
mark on a given task.  In messing with a web interface, I think it may be best 
to just have a string "status" key.  This could be set anywhere along the way, 
and should give a sense of what is happening with it.  

> Create TaskValidator -- include concepts like: maxDepth and maxSize
> -------------------------------------------------------------------
>
>                 Key: LABS-197
>                 URL: https://issues.apache.org/jira/browse/LABS-197
>             Project: Labs
>          Issue Type: Improvement
>          Components: Droids
>            Reporter: Ryan McKinley
>            Priority: Blocker
>         Attachments: LABS-197-taskValidator.patch
>
>
> The TaskQueue should have an expendable way to check if a Task is valid.
> perhaps something like:
> {code:java}
>  
> public interface TaskValidator {
>   public boolean validateTask( Task task ) throws InvalidTaskException;
> }
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to