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)