On Monday, 21 October 2013, Jesse Glick wrote: > On Mon, Oct 21, 2013 at 1:25 PM, Ronni Elken Lindsgaard > <[email protected] <javascript:;>> wrote: > > Is it safe to typecast an AbstractProject to Project? > > Well, it is safe to check if the project is a Project. But it > certainly may not be, for example if it was a Maven moduleset or > module, or a multibranch literate project.
The branches and environments of literate are extending from Project IIRC, but I doubt he's dealing with literate as that would need going through BranchProperty to inject his BuildWrapper > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Developers" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] <javascript:;>. > For more options, visit https://groups.google.com/groups/opt_out. > -- Sent from my phone -- You received this message because you are subscribed to the Google Groups "Jenkins Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
