Package | Description |
---|---|
org.apache.rat |
The base package for the RAT tool.
|
org.apache.rat.analysis |
Classes that perform analyses of files.
|
org.apache.rat.analysis.license | |
org.apache.rat.api |
Key abstractions.
|
org.apache.rat.configuration |
Classes to process configuration information from/to files.
|
org.apache.rat.license | |
org.apache.rat.policy |
Policies for various methods of reporting.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<ILicenseFamily> |
ReportConfiguration.getLicenseFamilies(LicenseSetFactory.LicenseFilter filter)
Gets a sorted set of ILicenseFamily objects based on
filter . if
filter is set:
all - All licenses families will be returned. |
SortedSet<ILicenseFamily> |
BuilderParams.licenseFamilies()
Gets a sorted set of registered license families.
|
Modifier and Type | Method and Description |
---|---|
void |
ReportConfiguration.addApprovedLicenseCategory(ILicenseFamily approvedILicenseFamily)
Adds an ILicenseFamily to the list of approved licenses.
|
void |
ReportConfiguration.addFamily(ILicenseFamily family)
Adds a license family to the list of families.
|
Modifier and Type | Method and Description |
---|---|
void |
ReportConfiguration.addFamilies(Collection<ILicenseFamily> families)
Adds multiple families to the list of license families.
|
Modifier and Type | Method and Description |
---|---|
ILicenseFamily |
UnknownLicense.getLicenseFamily() |
Modifier and Type | Method and Description |
---|---|
ILicenseFamily |
BaseLicense.getLicenseFamily()
Deprecated.
|
ILicenseFamily |
DeprecatedConfig.getLicenseFamily()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
void |
MetaData.setApprovedLicenses(Set<ILicenseFamily> approvedLicenseFamilies)
Sets the set of approved licenses.
|
Modifier and Type | Method and Description |
---|---|
SortedSet<ILicenseFamily> |
LicenseReader.readFamilies()
Reads the configuration and extracts instances of ILicenseFamily.
|
SortedSet<ILicenseFamily> |
XMLConfigurationReader.readFamilies() |
Modifier and Type | Method and Description |
---|---|
ILicenseFamily |
ILicenseFamilyBuilder.build() |
ILicenseFamily |
ILicenseFamily.Builder.build()
Builds the defined license family.
|
static ILicenseFamily |
LicenseSetFactory.familySearch(ILicenseFamily target,
SortedSet<ILicenseFamily> licenseFamilies)
Search a SortedSet of ILicenseFamily instances looking for a matching instance.
|
static ILicenseFamily |
LicenseSetFactory.familySearch(String target,
SortedSet<ILicenseFamily> licenseFamilies)
Search a SortedSet of ILicenseFamily instances looking for a matching instance.
|
ILicenseFamily |
ILicense.getLicenseFamily()
Gets the license family.
|
ILicenseFamily |
SimpleLicense.getLicenseFamily() |
Modifier and Type | Method and Description |
---|---|
SortedSet<ILicenseFamily> |
LicenseSetFactory.getLicenseFamilies(LicenseSetFactory.LicenseFilter filter)
Gets the LicenseFamily objects based on the filter.
|
Modifier and Type | Method and Description |
---|---|
void |
LicenseSetFactory.addFamily(ILicenseFamily family)
Adds a license family to the list of families.
|
default int |
ILicenseFamily.compareTo(ILicenseFamily other) |
static ILicenseFamily |
LicenseSetFactory.familySearch(ILicenseFamily target,
SortedSet<ILicenseFamily> licenseFamilies)
Search a SortedSet of ILicenseFamily instances looking for a matching instance.
|
Modifier and Type | Method and Description |
---|---|
static ILicenseFamily |
LicenseSetFactory.familySearch(ILicenseFamily target,
SortedSet<ILicenseFamily> licenseFamilies)
Search a SortedSet of ILicenseFamily instances looking for a matching instance.
|
static ILicenseFamily |
LicenseSetFactory.familySearch(String target,
SortedSet<ILicenseFamily> licenseFamilies)
Search a SortedSet of ILicenseFamily instances looking for a matching instance.
|
ILicense.Builder |
ILicense.Builder.setLicenseFamilies(SortedSet<ILicenseFamily> licenseFamilies)
Sets the set of license families to use duirng build.
|
SimpleLicense.Builder |
SimpleLicense.Builder.setLicenseFamilies(SortedSet<ILicenseFamily> licenseFamilies) |
Modifier and Type | Method and Description |
---|---|
SortedSet<ILicenseFamily> |
DefaultPolicy.getApprovedLicenseFamilies()
Gets an unmodifiable reference to the SortedSet of approved licenses that
this policy is holding.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultPolicy.add(ILicenseFamily approvedLicense)
Adds an ILicenseFamily to the list of approved licenses.
|
Constructor and Description |
---|
DefaultPolicy(Collection<ILicenseFamily> approvedLicenseFamilies)
Constructor with the list of approved license families.
|
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.