Configuring Sun Master Indexes (Repository)

ProcedureTo Add a New Decision Maker Parameter

  1. In the Projects window, expand the Configuration node in the project you want to modify, and then double-click the Threshold file.

  2. Scroll to the DecisionMakerConfig element.

  3. Create a parameter element inside the parameters element, but outside any existing parameter elements. Define the following elements:

    • parameter-name – The name of the parameter.

    • parameter-type – The type of parameter. Valid values are java.lang.Long, java.lang.Short, java.lang.Byte, java.lang.String, java.lang.Integer, java.lang.Boolean, java.lang.Double, or java.lang.Float.

    • parameter-value – The value of the parameter.

      For example:


      <parameters>
         <parameter>
            <parameter-name>OneExactMatch</parameter-name>
            <parameter-type>java.lang.Boolean</parameter-type>
            <parameter-value>false</parameter-value>
         </parameter>
         <parameter>
            <parameter-name>MaxDuplicates</parameter-name>
            <parameter-type>java.lang.Boolean</parameter-type>
            <parameter-value>5</parameter-value>
         </parameter>
      </parameters>
  4. Save and close the file.