Re: @Delegate and Date

2016-10-25 Thread David Karr
On Tue, Oct 25, 2016 at 1:34 PM, Dinko Srkoč wrote: > On 25 October 2016 at 16:02, VG wrote: >> Hi there, >> >> why this does not work? >> >> class Example { >> @Delegate Date when >> } >> >> def x = new Example(when: new Date()) >> x.next() //

Re: Strategy for optionally excluding a named method parameter?

2020-04-27 Thread David Karr
On Sun, Apr 26, 2020 at 5:43 PM Peter McNeil wrote: > G'day David > > On 25/4/20 6:17 am, David Karr wrote: > > Lately my only Groovy work is scripted pipelines in Jenkins, version > > 2.89.4 . > > > > I'm working with an api that is somewhat dumb in one respe

Re: Strategy for optionally excluding a named method parameter?

2020-04-25 Thread David Karr
he one key and value not provided in the second version. > > Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for > Windows 10 > > > > *From: *David Karr > *Sent: *Saturday, April 25, 2020 1:48 AM > *To: *users@groovy.apache.org > *Subject: *Str

Re: Re: Strategy for optionally excluding a named method parameter?

2020-04-26 Thread David Karr
gain to describe what I have "correctly pointed out". *Sent: *Sunday, April 26, 2020 9:00 AM > *To: *users@groovy.apache.org; David Karr > *Subject: *Re: Strategy for optionally excluding a named method parameter? > > > > It’s doing what you programmed it to do. &

Re: Re: Re: Strategy for optionally excluding a named method parameter?

2020-04-26 Thread David Karr
lease check,Sir, and correct me if I am wrong. > > 3.Still your implementation of function is not given, Sir. > That's because I don't own it, and I don't have it. In fact, since we're working with Jenkins shared libraries, I can't even get access to the class files. T.Rathinavelu >

Strategy for optionally excluding a named method parameter?

2020-04-24 Thread David Karr
Lately my only Groovy work is scripted pipelines in Jenkins, version 2.89.4 . I'm working with an api that is somewhat dumb in one respect. The method we call takes ~25 parameters. We send them as named parameters. One of the parameters is of boolean type. What we've discovered from testing

How to add a ssl server cert for groovy?

2024-02-15 Thread David Karr
I work behind a firewall, and it requires that I add a cert for our proxy to the cacerts file in the Java distribution. This works fine. I have a quite old version of Groovy installed on my desktop, v2.4.21, which is the version used by our Jenkins pipeline script. I want to test some code in