Uses of Interface
org.apache.rat.license.ILicense
Packages that use ILicense
Package
Description
The base package for the RAT tool.
Classes that perform analyses of files.
The base package for the RAT Apache Ant Task Library.
Key abstractions.
Classes to process configuration information from/to files.
Classes describing licenses
The base package for the RAT Maven plugin.
Classes that manage claims (metrics) about files and categories of files.
Classes that write the XML output.
-
Uses of ILicense in org.apache.rat
Methods in org.apache.rat that return ILicenseModifier and TypeMethodDescriptionReportConfiguration.addLicense
(ILicense.Builder builder) Adds a license to the list of licenses.Methods in org.apache.rat that return types with arguments of type ILicenseModifier and TypeMethodDescriptionReportConfiguration.getLicenses
(LicenseSetFactory.LicenseFilter filter) Gets the SortedSet of approved license categories.Methods in org.apache.rat with parameters of type ILicenseModifier and TypeMethodDescriptionvoid
ReportConfiguration.addApprovedLicenseId
(ILicense approvedLicense) Adds an ILicenseFamily to the list of approved licenses.void
ReportConfiguration.addLicense
(ILicense license) Adds a license to the list of licenses.Method parameters in org.apache.rat with type arguments of type ILicenseModifier and TypeMethodDescriptionvoid
ReportConfiguration.addLicenses
(Collection<ILicense> licenses) Adds multiple licenses to the list of licenses. -
Uses of ILicense in org.apache.rat.analysis
Classes in org.apache.rat.analysis that implement ILicenseModifier and TypeClassDescriptionfinal class
An ILicense implementation that represents an unknown license.Method parameters in org.apache.rat.analysis with type arguments of type ILicenseModifier and TypeMethodDescriptionstatic DocumentAnalyser
AnalyserFactory.createPolicy
(Predicate<ILicense> approvalPredicate) Creates an analyser that adds the approved license predicate to the document metadata.Constructor parameters in org.apache.rat.analysis with type arguments of type ILicenseModifierConstructorDescriptionHeaderCheckWorker
(IHeaderMatcher generatedMatcher, Reader reader, int numberOfRetainedHeaderLine, Collection<ILicense> licenses, Document document) Constructs a check worker for the license against the specified document.HeaderCheckWorker
(IHeaderMatcher generatedMatcher, Reader reader, Collection<ILicense> licenses, Document name) Convenience constructor wraps givenReader
in aBufferedReader
. -
Uses of ILicense in org.apache.rat.anttasks
Methods in org.apache.rat.anttasks that return ILicense -
Uses of ILicense in org.apache.rat.api
Methods in org.apache.rat.api that return types with arguments of type ILicenseModifier and TypeMethodDescriptionMetaData.approvedLicenses()
Gets the stream of approved licenses that have been matched.MetaData.licenses()
Gets the stream of licenses that have been matched.MetaData.unapprovedLicenses()
Gets the stream of unapproved licenses that have been matched.Methods in org.apache.rat.api with parameters of type ILicenseModifier and TypeMethodDescriptionboolean
MetaData.isApproved
(ILicense license) Determine if the license is an approved license.void
MetaData.reportOnLicense
(ILicense license) Add the license information to the metadata.Method parameters in org.apache.rat.api with type arguments of type ILicenseModifier and TypeMethodDescriptionvoid
MetaData.removeLicenses
(Predicate<ILicense> filter) Remove matched licenses based on a predicate.void
MetaData.setApprovalPredicate
(Predicate<ILicense> approvalPredicate) Sets the set of approved licenses. -
Uses of ILicense in org.apache.rat.configuration
Methods in org.apache.rat.configuration that return types with arguments of type ILicenseModifier and TypeMethodDescriptionLicenseReader.readLicenses()
Reads the configuration and extracts instances of ILicense.XMLConfigurationReader.readLicenses()
-
Uses of ILicense in org.apache.rat.license
Classes in org.apache.rat.license that implement ILicenseMethods in org.apache.rat.license that return ILicenseModifier and TypeMethodDescriptionLicenseSetFactory.addLicense
(ILicense.Builder builder) Adds a license to the list of licenses.ILicense.Builder.build()
Builds the license.Methods in org.apache.rat.license that return types with arguments of type ILicenseModifier and TypeMethodDescriptionLicenseSetFactory.getApprovedLicensePredicate()
Gets a predicate to filter for approved licenses.LicenseSetFactory.getLicenses
(LicenseSetFactory.LicenseFilter filter) Gets the License objects based on the filter.Search a SortedSet of licenses for the matching license id.Search a SortedSet of licenses for the matching license.Methods in org.apache.rat.license with parameters of type ILicenseModifier and TypeMethodDescriptionvoid
LicenseSetFactory.addLicense
(ILicense license) Adds a license to the list of licenses.default int
static boolean
A default implementation of equals.static int
A default implementation of a License hashSearch a SortedSet of licenses for the matching license.Method parameters in org.apache.rat.license with type arguments of type ILicenseModifier and TypeMethodDescriptionvoid
LicenseSetFactory.addLicenses
(Collection<ILicense> licenses) Adds multiple licenses to the list of licenses.Search a SortedSet of licenses for the matching license id.Search a SortedSet of licenses for the matching license.Constructor parameters in org.apache.rat.license with type arguments of type ILicenseModifierConstructorDescriptionLicenseSetFactory
(SortedSet<ILicense> licenses) Constructs a factory with the specified set of Licenses and the approved license collection. -
Uses of ILicense in org.apache.rat.mp
Methods in org.apache.rat.mp that return ILicenseMethod parameters in org.apache.rat.mp with type arguments of type ILicenseModifier and TypeMethodDescriptionprotected void
AbstractRatMojo.logLicenses
(Collection<ILicense> licenses) -
Uses of ILicense in org.apache.rat.report.claim
Methods in org.apache.rat.report.claim with parameters of type ILicenseModifier and TypeMethodDescriptionprotected void
AbstractClaimReporter.handleLicenseClaim
(ILicense license) Increment the counts associated with the license The default implementation does nothing.protected void
ClaimAggregator.handleLicenseClaim
(ILicense license) -
Uses of ILicense in org.apache.rat.report.xml
Methods in org.apache.rat.report.xml with parameters of type ILicenseModifier and TypeMethodDescriptionCreates a license element.