<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Parameters for custom java indicators? in Data Quality</title>
    <link>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199689#M381</link>
    <description>Ok, with Sebastio's help I've got a java indicator to run, but the next step is to add parameters to it. 
&lt;BR /&gt;I notice that all of the standard indicators have different options that can be set, but what about custom ones? 
&lt;BR /&gt;The indicator I have in mind will have a couple of different options that will affect the output (but have no effect on the process). It is conceivable to code a new indicator for each option, but not exactly nice... 
&lt;BR /&gt;I have had a look at the class file for UserDefIndicatorImpl but with almost no knowledge about Java I don't know whether there is no way to do it, or there is and I can't see it. 
&lt;BR /&gt;What are my options? Do I have any options? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
    <pubDate>Sat, 16 Nov 2024 13:27:50 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T13:27:50Z</dc:date>
    <item>
      <title>Parameters for custom java indicators?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199689#M381</link>
      <description>Ok, with Sebastio's help I've got a java indicator to run, but the next step is to add parameters to it. 
&lt;BR /&gt;I notice that all of the standard indicators have different options that can be set, but what about custom ones? 
&lt;BR /&gt;The indicator I have in mind will have a couple of different options that will affect the output (but have no effect on the process). It is conceivable to code a new indicator for each option, but not exactly nice... 
&lt;BR /&gt;I have had a look at the class file for UserDefIndicatorImpl but with almost no knowledge about Java I don't know whether there is no way to do it, or there is and I can't see it. 
&lt;BR /&gt;What are my options? Do I have any options? &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;</description>
      <pubDate>Sat, 16 Nov 2024 13:27:50 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199689#M381</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T13:27:50Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for custom java indicators?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199690#M382</link>
      <description>Hi Stuart, 
&lt;BR /&gt;We do not offer an easy way to set parameters on java custom indicators yet. If you have suggestions to do so, you may request this feature in our bugtracker. 
&lt;BR /&gt;In your case, I would implement a default indicator with no option. Then for each option, I would create a subclass of this default indicator. These subclasses would work a bit differently according to the option they implement. 
&lt;BR /&gt;I don't know if this solution can reply to your needs. How many options will you have?</description>
      <pubDate>Wed, 14 Apr 2010 09:24:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199690#M382</guid>
      <dc:creator>Sebastiao_Qlik</dc:creator>
      <dc:date>2010-04-14T09:24:14Z</dc:date>
    </item>
    <item>
      <title>Re: Parameters for custom java indicators?</title>
      <link>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199691#M383</link>
      <description>Hi Sebastiao, 
&lt;BR /&gt;I've got about half a dozen options at the moment, with a small chance that it could multiply in future. 
&lt;BR /&gt;Functionally all of the options are the same, but each "option" validates against a difference set of reference values. 
&lt;BR /&gt;So the option is to tell it which reference set to use. 
&lt;BR /&gt;True, I hadn't thought about using inheritance to sort it out. 
&lt;BR /&gt;I could derive and implement the function, then derive X children from that that each specify the particular reference set. 
&lt;BR /&gt;Not ideal, but better than what I was envisioning. It's been a while since I was a serious coder. 
&lt;BR /&gt;Thanks for that.</description>
      <pubDate>Wed, 14 Apr 2010 12:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Data-Quality/Parameters-for-custom-java-indicators/m-p/2199691#M383</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2010-04-14T12:36:20Z</dc:date>
    </item>
  </channel>
</rss>

