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

UseDefaults annotation with value

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.1
    • Fix Version/s: 3.0.0
    • Labels:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: