[rules-users] How can I query tasks created by MinaServer?

Mark Proctor mproctor at codehaus.org
Mon Feb 2 12:56:42 EST 2009


Cristiano Gavião wrote:
> Hi, 
>
> Im trying to query the human tasks that was created and persisted by 
> the MinaServer.
>
> Looking at junit tests I could see that for that job I should use 
> MinaTaskClient.getTasksAssignedAsPotentialOwner("Darth Vader", 
> "en-UK", responseHandler) or other methods like this one;
>
> In this case I should pass one responseHandler that 
> implements TaskSummaryResponseHandler.
>
> In the source code I could see that 
> exists BlockingTaskSummaryResponseHandler class that 
> implements TaskSummaryResponseHandler. 
>
> Should I use this class or create one myself???
The Blocking impl are just for unit testing, you can copy paste it for 
your own ResponseHandler if you like. For the moment we are trying to 
minmise what we expose as user classes, especially with regards to bloat 
for convenience classes.
>
>
> By the way, these class isn't on M5 JAR.... I think because Its not 
> located on the right path. It is on src/test folder instead of 
> src/main.....
>
> thanks and best regards
>
> ____________________________________
> Cristiano Gavião
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
>   

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090202/82217e29/attachment.html 


More information about the rules-users mailing list