Package org.apache.rat.report.claim
Enum ClaimStatistic.Counter
- All Implemented Interfaces:
Serializable
,Comparable<ClaimStatistic.Counter>
- Enclosing class:
ClaimStatistic
The counter types
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptioncount of approved filescount of archive filescount of binary filescount of distinct document typescount of generated/ignored filescount of license categoriescount of distinct license namescount of note filescount of standard filescount of unapproved filescount of unknown files -
Method Summary
Modifier and TypeMethodDescriptionDisplay name is capitalized and any underscores are replaced by spaces.int
Gets the default maximum value for the counter.int
Gets the default minimum value for the counter.Gets the description of the counter.static ClaimStatistic.Counter
Returns the enum constant of this type with the specified name.static ClaimStatistic.Counter[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
APPROVED
count of approved files -
ARCHIVES
count of archive files -
BINARIES
count of binary files -
DOCUMENT_TYPES
count of distinct document types -
IGNORED
count of generated/ignored files -
LICENSE_CATEGORIES
count of license categories -
LICENSE_NAMES
count of distinct license names -
NOTICES
count of note files -
STANDARDS
count of standard files -
UNAPPROVED
count of unapproved files -
UNKNOWN
count of unknown files
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDescription
Gets the description of the counter.- Returns:
- The description of the counter.
-
getDefaultMaxValue
public int getDefaultMaxValue()Gets the default maximum value for the counter.- Returns:
- the default maximum value for the counter.
-
getDefaultMinValue
public int getDefaultMinValue()Gets the default minimum value for the counter.- Returns:
- the default maximum value for the counter.
-
displayName
Display name is capitalized and any underscores are replaced by spaces.- Returns:
- displayName of the counter, capitalized and without underscores.
-