Re: FilePath.act question

2019-06-12 Thread varun vikas
Thanks RobertI have missed generics on FileCallable...it fixed the error. On Wed, 12 Jun 2019, 19:02 Robert Sandell, wrote: > Probably missed the generics on FileCallable > > implements FileCallable> { > > though you should probably use MasterToSlaveFileCallable instead of the > base one.

Re: FilePath.act question

2019-06-12 Thread Robert Sandell
Probably missed the generics on FileCallable implements FileCallable> { though you should probably use MasterToSlaveFileCallable instead of the base one. /B Den ons 12 juni 2019 kl 11:22 skrev varun vikas : > @old hooky >> > what should be return type of > > public List invoke(File ws, Virtua

Re: FilePath.act question

2019-06-12 Thread varun vikas
> > @old hooky > what should be return type of public List invoke(File ws, VirtualChannel channel) function. Here it is throwing error , attempting to use incompatible return type. I have defined a inner class private static final class AttachmentLister implements FileCallable{ @override publi