The XStream deserialization from config.xml to the object graph don't use
the DataboundConstructor et.al. It is only interested in mapping xml data
to fields (in most cases).

DataboundConstructor is only used for formbinding from the UI and pipeline
step definitions etc.

/B

2017-06-16 12:03 GMT+02:00 Christian McHugh <christian.mch...@gmail.com>:

> Great example, thanks!
>
> Let's say that a release had already been made which changed the
> databoundconstructor. In that case, the constructor's api is already
> modified. In this theoretical example, is there a mechanism by which the
> job config.xml could be updated to match the new constructor layout before
> the initialization call?
>
> --
> 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 jenkinsci-dev+unsubscr...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/
> msgid/jenkinsci-dev/6d3e9c5d-69a2-4535-8444-2f1dab44f9b2%
> 40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-dev/6d3e9c5d-69a2-4535-8444-2f1dab44f9b2%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Robert Sandell
*Software Engineer*
*CloudBees Inc.*

-- 
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 jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/CALzHZS3ozod5_7a9ck3MHEWiJ_m6O1f9cwiKipNruqHfo2E9OA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to