Package org.apache.rat.license
Interface ILicenseFamily
- All Superinterfaces:
Comparable<ILicenseFamily>
The definition of the license family.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceThe definition of an ILicenseFamily builder. -
Method Summary
Modifier and TypeMethodDescriptionstatic ILicenseFamily.Builderbuilder()default intcompareTo(ILicenseFamily other)static StringmakeCategory(String cat)Convert a potential category string into a category string of exactly 5 characters either by truncating the string or appending spaces as necessary.
-
Method Details
-
getFamilyName
String getFamilyName()- Returns:
- the license family name.
-
getFamilyCategory
String getFamilyCategory()- Returns:
- the license family category.
-
builder
- Returns:
- A builder for an ILicenseFamily.
-
makeCategory
Convert a potential category string into a category string of exactly 5 characters either by truncating the string or appending spaces as necessary.- Parameters:
cat- the string to convert.- Returns:
- a string of exactly 5 characters.
-
compareTo
- Specified by:
compareToin interfaceComparable<ILicenseFamily>
-