public class ClaimStatistic extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ClaimStatistic.Counter
The counter types
|
Constructor and Description |
---|
ClaimStatistic() |
Modifier and Type | Method and Description |
---|---|
int |
getCounter(ClaimStatistic.Counter counter)
Returns the counts for the counter.
|
int |
getCounter(Document.Type documentType)
Gets the counts for the Document.Type.
|
int |
getLicenseCategoryCount(String licenseFamilyCategory)
Gets the counts for hte license category.
|
Set<String> |
getLicenseFamilyCategories()
Gets the set of license family categories that were seen.
|
int |
getLicenseFamilyNameCount(String licenseFilename)
Retrieves the number of times a license family name was seen.
|
Set<String> |
getLicenseFamilyNames()
Gets the set of license family names that were seen.
|
void |
incCounter(ClaimStatistic.Counter counter,
int value)
Increments the counts for hte counter.
|
void |
incCounter(Document.Type documentType,
int value)
Increments the number of times the Document.Type was seen.
|
void |
incLicenseCategoryCount(String licenseFamilyCategory,
int value)
Increments the number of times a license family category was seen.
|
void |
incLicenseFamilyNameCount(String licenseFamilyName,
int value)
Increments the license family name count.
|
public int getCounter(ClaimStatistic.Counter counter)
counter
- the counter to get the value for.public void incCounter(ClaimStatistic.Counter counter, int value)
counter
- the counter to increment.value
- the value to increment the counter by.public int getCounter(Document.Type documentType)
documentType
- the Document.Type to get the counter for.public void incCounter(Document.Type documentType, int value)
documentType
- the Document.Type to increment.value
- the vlaue to increment the counter by.public int getLicenseCategoryCount(String licenseFamilyCategory)
licenseFamilyCategory
- the license family category to get the count for.public void incLicenseCategoryCount(String licenseFamilyCategory, int value)
licenseFamilyCategory
- the License family category to incmrement.value
- the value to increment the count by.public Set<String> getLicenseFamilyCategories()
public Set<String> getLicenseFamilyNames()
public int getLicenseFamilyNameCount(String licenseFilename)
licenseFilename
- the license family name to look for.public void incLicenseFamilyNameCount(String licenseFamilyName, int value)
licenseFamilyName
- the license family name to increment.value
- the value to increment the count by.Copyright © 2006–2024 Apache Software Foundation. All rights reserved.