[forge-issues] [JBoss JIRA] (ROASTER-35) Add a method PropertyHolderSource.getProperties(Class<?> aClass)
Antonio Goncalves (JIRA)
issues at jboss.org
Thu Sep 11 04:48:19 EDT 2014
Antonio Goncalves created ROASTER-35:
----------------------------------------
Summary: 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
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
(v6.3.1#6329)
More information about the forge-issues
mailing list