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 TypeMethodDescriptionvoidReportConfiguration.addApprovedLicenseId(ILicense approvedLicense)Adds an ILicenseFamily to the list of approved licenses.voidReportConfiguration.addLicense(ILicense license)Adds a license to the list of licenses.Method parameters in org.apache.rat with type arguments of type ILicenseModifier and TypeMethodDescriptionvoidReportConfiguration.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 TypeClassDescriptionclassAn ILicense implementation that represents an unknown license.Method parameters in org.apache.rat.analysis with type arguments of type ILicenseModifier and TypeMethodDescriptionstatic DocumentAnalyserAnalyserFactory.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 givenReaderin 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 TypeMethodDescriptionbooleanMetaData.isApproved(ILicense license)Determine if the license is an approved license.voidMetaData.reportOnLicense(ILicense license)Add the license information to the metadata.Method parameters in org.apache.rat.api with type arguments of type ILicenseModifier and TypeMethodDescriptionvoidMetaData.removeLicenses(Predicate<ILicense> filter)Remove matched licenses based on a predicate.voidMetaData.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 TypeMethodDescriptionvoidLicenseSetFactory.addLicense(ILicense license)Adds a license to the list of licenses.default intstatic booleanA default implementation of equals.static intA 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 TypeMethodDescriptionvoidLicenseSetFactory.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 voidAbstractRatMojo.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 voidAbstractClaimReporter.handleLicenseClaim(ILicense license)Increment the counts associated with the license The default implementation does nothing.protected voidClaimAggregator.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.