Coverage Report - org.owasp.dependencycheck.data.cpe.Fields
 
Classes in this File Line Coverage Branch Coverage Complexity
Fields
0%
0/2
N/A
1
 
 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) 2012 Jeremy Long. All Rights Reserved.
 17  
  */
 18  
 package org.owasp.dependencycheck.data.cpe;
 19  
 
 20  
 /**
 21  
  * Fields is a collection of field names used within the Lucene index for CPE entries.
 22  
  *
 23  
  * @author Jeremy Long
 24  
  */
 25  
 public final class Fields {
 26  
 
 27  
     /**
 28  
      * The key for the name document id.
 29  
      */
 30  
     public static final String DOCUMENT_KEY = "id";
 31  
     /**
 32  
      * The key for the vendor field.
 33  
      */
 34  
     public static final String VENDOR = "vendor";
 35  
     /**
 36  
      * The key for the product field.
 37  
      */
 38  
     public static final String PRODUCT = "product";
 39  
 
 40  
     /**
 41  
      * Private constructor as this is more of an enumeration rather then a full class.
 42  
      */
 43  0
     private Fields() {
 44  0
     }
 45  
 }