Class VendorDuplicatingHintRule


  • @ThreadSafe
    public class VendorDuplicatingHintRule
    extends java.lang.Object
    Used to duplicate vendor evidence within a collection. The intent is if any evidence is found in a collection that matches the value given the evidence will be duplicated and the value replaced with the value indicated.
    Author:
    Jeremy Long
    • Constructor Summary

      Constructors 
      Constructor Description
      VendorDuplicatingHintRule​(java.lang.String value, java.lang.String duplicate)
      Constructs a new duplicating rule.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getDuplicate()
      Get the value of duplicate.
      java.lang.String getValue()
      Get the value of value.
      void setDuplicate​(java.lang.String duplicate)
      Set the value of duplicate.
      void setValue​(java.lang.String value)
      Set the value of value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • VendorDuplicatingHintRule

        public VendorDuplicatingHintRule​(java.lang.String value,
                                         java.lang.String duplicate)
        Constructs a new duplicating rule.
        Parameters:
        value - the value to duplicate the evidence if found
        duplicate - the value to replace within the duplicated evidence
    • Method Detail

      • getValue

        public java.lang.String getValue()
        Get the value of value.
        Returns:
        the value of value
      • setValue

        public void setValue​(java.lang.String value)
        Set the value of value.
        Parameters:
        value - new value of value
      • getDuplicate

        public java.lang.String getDuplicate()
        Get the value of duplicate.
        Returns:
        the value of duplicate
      • setDuplicate

        public void setDuplicate​(java.lang.String duplicate)
        Set the value of duplicate.
        Parameters:
        duplicate - new value of duplicate