pvillard31 commented on PR #9813:
URL: https://github.com/apache/nifi/pull/9813#issuecomment-2750631271

   Yep, ok, my bad, I thought we had the information and we could do something 
like:
   
   ````java
   if (component instanceof VersionedConfigurableComponent 
versionedConfigurableComponent) {
       final Map<String, VersionedPropertyDescriptor> props = 
versionedConfigurableComponent.getPropertyDescriptors();
       for (Entry<String, VersionedPropertyDescriptor> entry : 
props.entrySet()) {
           if (entry.getValue().getIdentifiesControllerService()) {
               // entry.getValue().getControllerServiceDefinition();
           }
       }
   }
   ````
   
   and have the information about the controller service interface that this 
property expects but this it not something available. That could be an 
interesting improvement I guess.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to