org.apache.rat.report.claim
Class ClaimStatistic

java.lang.Object
  extended by org.apache.rat.report.claim.ClaimStatistic

public class ClaimStatistic
extends Object

This class provides a numerical overview about the report.


Constructor Summary
ClaimStatistic()
           
 
Method Summary
 Map getDocumentCategoryMap()
          Returns a map with the file types.
 Map getLicenseFileCodeMap()
          Returns a map with the license family codes.
 Map getLicenseFileNameMap()
          Returns a map with the license family codes.
 int getNumApproved()
          Returns the number of files with approved licenses.
 int getNumGenerated()
          Returns the number of generated files.
 int getNumUnApproved()
          Returns the number of files with unapproved licenses.
 int getNumUnknown()
          Returns the number of files, which are neither generated nor have a known license header.
 void setDocumentCategoryMap(Map pDocumentCategoryMap)
          Sets a map with the file types.
 void setLicenseFileCodeMap(Map pLicenseFamilyCodeMap)
          Sets a map with the license family codes.
 void setLicenseFileNameMap(Map pLicenseFamilyNameMap)
          Returns a map with the license family codes.
 void setNumApproved(int pNumApproved)
          Sets the number of files with approved licenses.
 void setNumGenerated(int pNumGenerated)
          Returns the number of generated files.
 void setNumUnApproved(int pNumUnApproved)
          Returns the number of files with unapproved licenses.
 void setNumUnknown(int pNumUnknown)
          Sets the number of files, which are neither generated nor have a known license header.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClaimStatistic

public ClaimStatistic()
Method Detail

getNumApproved

public int getNumApproved()
Returns the number of files with approved licenses.


setNumApproved

public void setNumApproved(int pNumApproved)
Sets the number of files with approved licenses.


getNumUnApproved

public int getNumUnApproved()
Returns the number of files with unapproved licenses. This might include files with unknown licenses.

See Also:
getNumUnknown()

setNumUnApproved

public void setNumUnApproved(int pNumUnApproved)
Returns the number of files with unapproved licenses. This might include files with unknown licenses.

See Also:
setNumUnknown(int)

getNumGenerated

public int getNumGenerated()
Returns the number of generated files.


setNumGenerated

public void setNumGenerated(int pNumGenerated)
Returns the number of generated files.


getNumUnknown

public int getNumUnknown()
Returns the number of files, which are neither generated nor have a known license header.


setNumUnknown

public void setNumUnknown(int pNumUnknown)
Sets the number of files, which are neither generated nor have a known license header.


setDocumentCategoryMap

public void setDocumentCategoryMap(Map pDocumentCategoryMap)
Sets a map with the file types. The map keys are file type names and the map values are integers with the number of resources matching the file type.


getDocumentCategoryMap

public Map getDocumentCategoryMap()
Returns a map with the file types. The map keys are file type names and the map values are integers with the number of resources matching the file type.


getLicenseFileCodeMap

public Map getLicenseFileCodeMap()
Returns a map with the license family codes. The map keys are license family category names, the map values are integers with the number of resources matching the license family code.


setLicenseFileCodeMap

public void setLicenseFileCodeMap(Map pLicenseFamilyCodeMap)
Sets a map with the license family codes. The map keys are instances of license family category names and the map values are integers with the number of resources matching the license family code.


getLicenseFileNameMap

public Map getLicenseFileNameMap()
Returns a map with the license family codes. The map keys are the names of the license families and the map values are integers with the number of resources matching the license family name.


setLicenseFileNameMap

public void setLicenseFileNameMap(Map pLicenseFamilyNameMap)
Returns a map with the license family codes. The map keys are the name of the license families and the map values are integers with the number of resources matching the license family name.



Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.