public interface ILicenseFamily extends Comparable<ILicenseFamily>
Modifier and Type | Interface and Description |
---|---|
static interface |
ILicenseFamily.Builder
The definition of an ILicenseFamily builder.
|
Modifier and Type | Field and Description |
---|---|
static String |
GENTERATED_CATEGORY
The category for generated files
|
static String |
UNKNOWN_CATEGORY
The category for unknown licenses
|
Modifier and Type | Method and Description |
---|---|
static ILicenseFamily.Builder |
builder()
Gets the Builder for license families.
|
default int |
compareTo(ILicenseFamily other) |
String |
getFamilyCategory()
Gets the family category.
|
String |
getFamilyName()
Gets the family name.
|
static String |
makeCategory(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.
|
static final String GENTERATED_CATEGORY
static final String UNKNOWN_CATEGORY
String getFamilyName()
String getFamilyCategory()
static ILicenseFamily.Builder builder()
static String makeCategory(String cat)
cat
- the string to convert.default int compareTo(ILicenseFamily other)
compareTo
in interface Comparable<ILicenseFamily>
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.