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

allow non-void DataBoundSetter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open (View Workflow)
    • Priority: Minor
    • Resolution: Unresolved
    • Component/s: core
    • Labels:
    • Similar Issues:

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated: