[
https://issues.jboss.org/browse/ROASTER-35?page=com.atlassian.jira.plugin...
]
Issue was automatically transitioned when George Gastaldi merged pull request #70 in
GitHub
-------------------------------------------------------------------------------------------
Status: Resolved (was: Pull Request Sent)
Resolution: Done
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
Fix For: 2.x Future
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)