Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-32503

allow non-void DataBoundSetter

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • core

      Such feature would allow to have fluent code in tests or programmatic jenkins configuration. http://kostyasha.blogspot.com.by/2015/12/jenkins-fluent-classes.html

      Atm it not possible to have non-void setters because RequestImpl.class uses java.beans.PropertyDescriptor#getWriteMethod that follows java bean specification that say that setter should be void.

      PS. Spring AFAIK allows having non-void setters.

            Unassigned Unassigned
            integer Kanstantsin Shautsou
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: