Class VendorDuplicatingHintRule

java.lang.Object
org.owasp.dependencycheck.xml.hints.VendorDuplicatingHintRule

@ThreadSafe public class VendorDuplicatingHintRule extends 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 Details

    • VendorDuplicatingHintRule

      public VendorDuplicatingHintRule(String value, 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 Details

    • getValue

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

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

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

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