You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "karthik kadajji (Jira)" <ji...@apache.org> on 2020/03/04 11:52:00 UTC

[jira] [Commented] (NIFI-2612) Support enum on PropertyDescriptor.allowableValues

    [ https://issues.apache.org/jira/browse/NIFI-2612?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17051135#comment-17051135 ] 

karthik kadajji commented on NIFI-2612:
---------------------------------------

Hi [~jfrazee],

I was going through your ticket, But I think the particular improvement is already done. Could you please check if this is what you would have wanted?

[https://github.com/apache/nifi/blob/b7fb94723c06ef0277ae0c274f6dd318c90f00ea/nifi-api/src/main/java/org/apache/nifi/components/PropertyDescriptor.java#L352]



Regards,
Karthik Kadajji

> Support enum on PropertyDescriptor.allowableValues
> --------------------------------------------------
>
>                 Key: NIFI-2612
>                 URL: https://issues.apache.org/jira/browse/NIFI-2612
>             Project: Apache NiFi
>          Issue Type: Improvement
>            Reporter: Joey Frazee
>            Priority: Trivial
>
> It'd be really convenient if the allowableValues builder method on PropertyDescriptor supported passing an enum in and it just did the right thing; i.e., include all the options, use name() for display.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)