The .name() method is commonly used to provide a more Machine-friendly name, to help in future Internalization (i18n) efforts. The .displayName() method is commonly used to provide a user-friendly name. Currently the display name is used in the UI when present, and if not present, the name is used.
Regards, Matt > On Sep 30, 2017, at 10:35 AM, Giovanni Lanzani > <[email protected]> wrote: > > On 29 Sep 2017, at 18:50, Giovanni Lanzani wrote: > > Now you definitely picked my interest. > > I've opened https://issues.apache.org/jira/browse/NIFI-4443 and I'll try to > work on it a bit. I might not tackle the Kerberos stuff just yet but I'm > curious to see if this additional CLASSPATH thingy is enough. > > Thanks, > > Giovanni > > Hi again, > > I was looking to open a PR and I saw this (new to me?) requirement: > > If adding new Properties, have you added .displayName in addition to .name > (programmatic access) for each of the new properties? > > Can anyone tell me precisely what this is about? Should I add a .displayName > equal to .name or is it only when I want to make a distinction between the > programmatic access and the UI? > > Giovanni
