Uploaded image for project: 'Polygene'
  1. Polygene
  2. POLYGENE-141

UseDefaults annotation with value

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1
    • 3.0.0

    Description

      Define default value where I declare the Property, such as:

      public interface ABC {
         @UseDefaults(value="127.0.0.1")
         Property<String> hostname();
      
      
         @UseDefaults(value=8080)
         Property<Integer> port();
      }
      

      Attachments

        Activity

          People

            niclas Niclas Hedhman
            zhuangmz Mingzhou Zhuang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: