please suggest regards
On Thu, Jul 10, 2014 at 4:26 PM, Irfan Sayed <[email protected]> wrote: > thanks. i referred that already and use following method to assign default > value > > public ParameterDefinition copyWithDefaultValue(ParameterValue defaultValue) { > // By default, just return this again > > return this; > > } > > is this correct ? > i have added above code in class which extends ParamaterDefinition > should i publish the code so that you can review ? > > please suggest > > regards > > > > On Thu, Jul 10, 2014 at 12:27 PM, Sandell, Robert < > [email protected]> wrote: > >> What you need to know is most likely in the javadoc. >> >> >> >> >> https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/ParameterDefinition.java >> >> >> https://github.com/jenkinsci/jenkins/blob/master/core/src/main/java/hudson/model/ParametersDefinitionProperty.java >> >> et.al. >> >> >> >> >> >> *Robert Sandell* >> >> Software Tools Engineer - SW Environment and Product Configuration >> >> Sony Mobile Communications >> >> >> >> *From:* [email protected] [mailto: >> [email protected]] *On Behalf Of *Irfan Sayed >> *Sent:* den 10 juli 2014 05:39 >> *To:* [email protected] >> *Subject:* source code for parameterized build >> >> >> >> hi, >> >> >> >> i am developing plugin for adding some extra parameters >> >> my plugin is almost working >> >> however, i need to set default value of parameter >> >> >> >> i pinged the dev's on irc channel also but did not had luck >> >> can someone please help me ? >> >> >> >> meanwhile , can someone point me to source code of : >> https://wiki.jenkins-ci.org/display/JENKINS/Parameterized+Build >> >> >> >> regards >> >> irfan >> >> >> >> >> >> >> >> -- >> 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/d/optout. >> >> -- >> 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/d/optout. >> > > -- 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/d/optout.
