[rules-users] How can I query tasks created by MinaServer?
Cristiano Gavião
cvgaviao at gmail.com
Fri Feb 6 11:53:28 EST 2009
Hi Kris,
Thanks for your answer...
I just think that some Default implementation would be something
useful for people to understand more quickly...
best regards
Cristiano
On 02/02/2009, at 14:53, Kris Verlaenen wrote:
> You can decide yourself how to respond to the result. So yes, you
> can just implement your own handler. The blocking response handler
> is made for testing purposes mostly: when you ask it for the
> results, it will wait until those arrive or will throw an exception
> if it needed to wait too long. If that is the behaviour you want,
> you can simply copy it, but you don't have to use this kind of
> blocking response handler, it's more like an example (hence it's not
> in the jar as well).
>
> Kris
>
>
> ----- Original Message -----
> From: Cristiano Gavião
> To: Rules Users List
> Sent: Monday, February 02, 2009 12:26 AM
> Subject: [rules-users] How can I query tasks created by MinaServer?
>
> 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???
>
>
> 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
> _______________________________________________
> rules-users mailing list
> rules-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-users
_________________________
Cristiano V. Gavião
"Sonhe com o que você quiser. Vá para onde você queira ir.
Seja o que você quer ser, porque você possui apenas uma vida
e nela só temos uma chance de fazer aquilo que queremos.
Tenha felicidade bastante para fazê-la doce. Dificuldades para fazê-la
forte. Tristeza para fazê-la humana. E
esperança suficiente para fazê-la feliz." Clarice Lispector
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/rules-users/attachments/20090206/d7a478e8/attachment.html
More information about the rules-users
mailing list