View Javadoc
1   /*
2    * This file is part of dependency-check-core.
3    *
4    * Licensed under the Apache License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    *     http://www.apache.org/licenses/LICENSE-2.0
9    *
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13   * See the License for the specific language governing permissions and
14   * limitations under the License.
15   *
16   * Copyright (c) 2016 Jeremy Long. All Rights Reserved.
17   */
18  package org.owasp.dependencycheck.xml.hints;
19  
20  import java.util.List;
21  
22  /**
23   * A collection of hint rules.
24   *
25   * @author Jeremy Long
26   */
27  public class Hints {
28  
29      /**
30       * The list of hint rules.
31       */
32      private List<HintRule> hintRules;
33  
34      /**
35       * Get the value of hintRules.
36       *
37       * @return the value of hintRules
38       */
39      public List<HintRule> getHintRules() {
40          return hintRules;
41      }
42  
43      /**
44       * Set the value of hintRules.
45       *
46       * @param hintRules new value of hintRules
47       */
48      public void setHintRules(List<HintRule> hintRules) {
49          this.hintRules = hintRules;
50      }
51  
52      /**
53       * The duplicating hint rules.
54       */
55      private List<VendorDuplicatingHintRule> vendorDuplicatingHintRules;
56  
57      /**
58       * Get the value of vendorDuplicatingHintRules.
59       *
60       * @return the value of vendorDuplicatingHintRules
61       */
62      public List<VendorDuplicatingHintRule> getVendorDuplicatingHintRules() {
63          return vendorDuplicatingHintRules;
64      }
65  
66      /**
67       * Set the value of vendorDuplicatingHintRules.
68       *
69       * @param vendorDuplicatingHintRules new value of vendorDuplicatingHintRules
70       */
71      public void setVendorDuplicatingHintRules(List<VendorDuplicatingHintRule> vendorDuplicatingHintRules) {
72          this.vendorDuplicatingHintRules = vendorDuplicatingHintRules;
73      }
74  }