[forge-issues] [JBoss JIRA] (ROASTER-35) Add a method PropertyHolderSource.getProperties(Class<?> aClass)

George Gastaldi (JIRA) issues at jboss.org
Thu Nov 17 18:47:00 EST 2016


     [ https://issues.jboss.org/browse/ROASTER-35?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

George Gastaldi closed ROASTER-35.
----------------------------------


> Add a method PropertyHolderSource.getProperties(Class<?> aClass)
> ----------------------------------------------------------------
>
>                 Key: ROASTER-35
>                 URL: https://issues.jboss.org/browse/ROASTER-35
>             Project: Roaster
>          Issue Type: Feature Request
>          Components: API
>    Affects Versions: 2.7.1.Final
>            Reporter: Antonio Goncalves
>            Assignee: Stephan Windmüller
>             Fix For: 2.19.3.Final
>
>
> At the moment the interface {{PropertyHolderSource}} only has one method to return a given property (by name) or all the properties. 
> {code}
> List<PropertySource<O>> getProperties();
> PropertySource<O> getProperty(String name);
> {code}
> A common use case I have is to get all the properties of a given type. So something like that would be very useful : 
> {code}
> List<PropertySource<O>> getProperties(Class type);
> {code}



--
This message was sent by Atlassian JIRA
(v7.2.3#72005)



More information about the forge-issues mailing list