How do you actually check this flag ? isPending() always returns false with me, executing or not...
2010/2/24 Todd Volkert <[email protected]> > It means that your Task subclass should check the abort flag periodically > inside its execute() method. > > -T > > > On Wed, Feb 24, 2010 at 3:16 PM, Mathias Versichele < > [email protected]> wrote: > >> Calling the abort() method of my TaskSequence has no effect. I read in the >> API that this only sets the abort field to true and that the implementing >> class has to respect this value and throw an AbortException accordingly. >> Does this mean that in the loop that is running in the task, I have to check >> this field with every loop run or something ? >> >> -- >> Mathias Versichele >> Bio-ir milieutechnologie / Msc. geografie >> Oudburgstraat 16 >> 9240 Zele >> 0485/16.07.08 >> > > -- Mathias Versichele Bio-ir milieutechnologie / Msc. geografie Oudburgstraat 16 9240 Zele 0485/16.07.08
