You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@polygene.apache.org by "Niclas Hedhman (JIRA)" <ji...@apache.org> on 2018/04/28 07:46:00 UTC

[jira] [Closed] (POLYGENE-141) UseDefaults annotation with value

     [ https://issues.apache.org/jira/browse/POLYGENE-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Niclas Hedhman closed POLYGENE-141.
-----------------------------------

> UseDefaults annotation with value
> ---------------------------------
>
>                 Key: POLYGENE-141
>                 URL: https://issues.apache.org/jira/browse/POLYGENE-141
>             Project: Polygene
>          Issue Type: Improvement
>    Affects Versions: 2.1
>            Reporter: Mingzhou Zhuang
>            Assignee: Niclas Hedhman
>            Priority: Minor
>              Labels: features
>             Fix For: 3.0.0
>
>
> Define default value where I declare the Property, such as:
> {code}
> public interface ABC {
>    @UseDefaults(value="127.0.0.1")
>    Property<String> hostname();
>    @UseDefaults(value=8080)
>    Property<Integer> port();
> }
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)