Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Terminally Deprecated
  • Interfaces
  • Classes
  • Fields
  • Methods
  • Terminally Deprecated Elements
    Element
    Description
    org.apache.rat.analysis.matchers.SPDXMatcherFactory.INSTANCE
    Not thread-safe. Use SPDXMatcherFactory.newInstance() to create per-thread instances instead. Will be removed in 1.0.0.
  • Deprecated Interfaces
    Interface
    Description
    org.apache.rat.analysis.license.DeprecatedConfig
  • Deprecated Classes
    Class
    Description
    org.apache.rat.analysis.license.BaseLicense
    org.apache.rat.analysis.license.FullTextMatchingLicense
    Use new configuration options
    org.apache.rat.analysis.license.SimplePatternBasedLicense
    Use new configuration options
    org.apache.rat.anttasks.All
    use configuration file.
    org.apache.rat.anttasks.Any
    use configuration file.
    org.apache.rat.anttasks.Copyright
    use configuration file.
    org.apache.rat.anttasks.Family
    use configuration file.
    org.apache.rat.anttasks.License
    use configuration file.
    org.apache.rat.anttasks.Not
    use configuration file.
    org.apache.rat.anttasks.Regex
    use configuration file.
    org.apache.rat.anttasks.Report.AddLicenseHeaders
    use <editCopyright> amd <editOverwrite> instead.
    org.apache.rat.anttasks.Report.ApprovalFilter
    use listLicenses or listFamilies attributes.
    org.apache.rat.anttasks.Spdx
    use configuration file.
    org.apache.rat.anttasks.Text
    use configuration file.
    org.apache.rat.header.HeaderBean
    org.apache.rat.header.HeaderMatcher
    org.apache.rat.header.LineNumberReader
    org.apache.rat.header.SimpleCharFilter
    org.apache.rat.license.ILicenseFamilyBuilder
    use ILicenseFamily.Builder
    org.apache.rat.license.SimpleLicenseFamily
    org.apache.rat.mp.All
    use Configuration file to define licenses
    org.apache.rat.mp.Any
    use Configuration file to define licenses
    org.apache.rat.mp.Copyright
    use Configuration file to define licenses
    org.apache.rat.mp.Family
    use Configuration file to define licenses
    org.apache.rat.mp.HeaderMatcherSpecification
    use Configuration file to define licenses
    org.apache.rat.mp.License
    use Configuration file to define licenses
    org.apache.rat.mp.Not
    use Configuration file to define licenses
    org.apache.rat.mp.Regex
    use Configuration file to define licenses
    org.apache.rat.mp.Spdx
    use Configuration file to define licenses
    org.apache.rat.mp.Text
    use Configuration file to define licenses
  • Deprecated Fields
    Field
    Description
    org.apache.rat.analysis.matchers.SPDXMatcherFactory.INSTANCE
    Not thread-safe. Use SPDXMatcherFactory.newInstance() to create per-thread instances instead. Will be removed in 1.0.0.
    org.apache.rat.mp.RatReportMojo.remoteArtifactRepositories
    replaced by RatReportMojo.remoteRepositories
  • Deprecated Methods
    Method
    Description
    org.apache.rat.analysis.IHeaderMatcher.Builder.all()
    Use new AllBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.any()
    Use new AnyBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.copyright()
    Use new CopyrightBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.matcherRef()
    Use new MatcherRefBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.not()
    Use new NotBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.regex()
    Use new RegexBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.spdx()
    Use new SpdxBuilder()
    org.apache.rat.analysis.IHeaderMatcher.Builder.text()
    Use new TextBuilder()
    org.apache.rat.anttasks.BaseAntTask.createExcludes()
    Deprecated for removal since 0.17: Use <inputExcludes> instead.
    org.apache.rat.anttasks.BaseAntTask.createIncludes()
    Deprecated for removal since 0.17: Use <inputIncludes> instead.
    org.apache.rat.anttasks.BaseAntTask.createLicenses()
    Deprecated for removal since 0.17: Use <configs> instead.
    org.apache.rat.anttasks.BaseAntTask.setAddLicense(boolean)
    Deprecated for removal since 0.17: Use editLicense attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setCopyright(String)
    Deprecated for removal since 0.17: Use editCopyright attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setExcludeFile(String)
    Deprecated for removal since 0.17: Use inputExcludeFile attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setForce(boolean)
    Deprecated for removal since 0.17: Use editOverwrite attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setIncludesFile(String)
    Deprecated for removal since 0.17: Use inputIncludeFile attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setListFamilies(String)
    Deprecated for removal since 0.17: Use outputFamilies attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setListLicenses(String)
    Deprecated for removal since 0.17: Use outputLicenses attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setNoDefaultLicenses(boolean)
    Deprecated for removal since 0.17: Use configurationNoDefaults attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setOut(String)
    Deprecated for removal since 0.17: Use outputFile attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setScanHiddenDirectories(boolean)
    Deprecated for removal since 0.17: Use <inputIncludeStds> with 'HIDDEN_DIR' argument instead.
    org.apache.rat.anttasks.BaseAntTask.setStylesheet(String)
    Deprecated for removal since 0.17: Use outputStyle attribute instead.
    org.apache.rat.anttasks.BaseAntTask.setXml(boolean)
    Deprecated for removal since 0.17: Use outputStyle attribute with the 'xml' argument instead.
    org.apache.rat.anttasks.Report.addAddApprovedLicense(String)
    use licensesFamiliesApproved child element.
    org.apache.rat.anttasks.Report.addFamily(Family)
    Create a custom configuration file and use the config option.
    org.apache.rat.anttasks.Report.addLicense(License)
    Create a custom configuration file and use the config option.
    org.apache.rat.anttasks.Report.addRemoveApprovedLicense(String)
    use licensesFamiliesDenied child element.
    org.apache.rat.anttasks.Report.addRemoveApprovedLicense(String[])
    use licenseFamilyDenied element.
    org.apache.rat.anttasks.Report.addStylesheet(Resource)
    use BaseAntTask.setStylesheet(String)
    org.apache.rat.anttasks.Report.addStyleSheet(Resource)
    use BaseAntTask.setOutputStyle(String)
    org.apache.rat.anttasks.Report.setAddApprovedLicense(String)
    use licensesApproved child element.
    org.apache.rat.anttasks.Report.setAddDefaultDefinitions(File)
    Use Config child element.
    org.apache.rat.anttasks.Report.setAddLicenseHeaders(Report.AddLicenseHeaders)
    use editLicense and editOverwrite attributes.
    org.apache.rat.anttasks.Report.setCopyrightMessage(String)
    use copyright attribute.
    org.apache.rat.anttasks.Report.setFormat(String)
    use BaseAntTask.setStylesheet(String)
    org.apache.rat.anttasks.Report.setInputFileFilter(IOFileFilter)
    org.apache.rat.anttasks.Report.setLicenses(File)
    create a configuration file and use the <config> child element.
    org.apache.rat.anttasks.Report.setRemoveApprovedLicense(String)
    use licensesFamiliesDenied child element.
    org.apache.rat.anttasks.Report.setRemoveApprovedLicense(String[])
    use licenseFamiliesDenied element.
    org.apache.rat.anttasks.Report.setReportFile(File)
    use outputFile element.
    org.apache.rat.anttasks.Report.setStyleReport(boolean)
    use BaseAntTask.setOutputStyle(String) and pass "xml" or "plain-rat".
    org.apache.rat.anttasks.Report.setUseDefaultLicenses(boolean)
    use noDefaultLicenses attribute.
    org.apache.rat.mp.AbstractRatMojo.setAddDefaultLicenses(boolean)
    Deprecated for removal since 0.17: Use <configurationNoDefaults> instead (note the change of state).
    org.apache.rat.mp.RatCheckMojo.setAddLicenseHeaders(String)
    Use <editLicense> and <editOverwrite>.
    org.apache.rat.mp.RatCheckMojo.setCopyrightMessage(String)
    Deprecated for removal since 0.17: Use <editCopyright> instead.
    org.apache.rat.mp.RatCheckMojo.setReportFile(File)
    Use 'out' property instead.
    org.apache.rat.mp.RatCheckMojo.setReportStyle(String)
    Use setStyleSheet or "xml" instead.
    org.apache.rat.mp.RatReportMojo.generate(Sink, Locale)
    use RatReportMojo.generate(Sink, SinkFactory, Locale) instead.
    org.apache.rat.OptionCollection.getArgumentTypes()
    use OptionCollection.ArgumentType
    org.apache.rat.plugin.BaseRatMojo.setAddLicense(boolean)
    Deprecated for removal since 0.17: Use <editLicense> instead.
    org.apache.rat.plugin.BaseRatMojo.setCopyright(String)
    Deprecated for removal since 0.17: Use <editCopyright> instead.
    org.apache.rat.plugin.BaseRatMojo.setExclude(String)
    Deprecated for removal since 0.17: Use <inputExclude> instead.
    org.apache.rat.plugin.BaseRatMojo.setExcludeFile(String)
    Deprecated for removal since 0.17: Use <inputExcludeFile> instead.
    org.apache.rat.plugin.BaseRatMojo.setExcludes(String[])
    Deprecated for removal since 0.17: Use <inputExclude> instead.
    org.apache.rat.plugin.BaseRatMojo.setForce(boolean)
    Deprecated for removal since 0.17: Use <editOverwrite> instead.
    org.apache.rat.plugin.BaseRatMojo.setInclude(String)
    Deprecated for removal since 0.17: Use <inputInclude> instead.
    org.apache.rat.plugin.BaseRatMojo.setIncludes(String[])
    Deprecated for removal since 0.17: Use <inputInclude> instead.
    org.apache.rat.plugin.BaseRatMojo.setIncludesFile(String)
    Deprecated for removal since 0.17: Use <inputIncludeFile> instead.
    org.apache.rat.plugin.BaseRatMojo.setLicenses(String)
    Deprecated for removal since 0.17: Use <config> instead.
    org.apache.rat.plugin.BaseRatMojo.setLicenses(String[])
    Deprecated for removal since 0.17: Use <config> instead.
    org.apache.rat.plugin.BaseRatMojo.setListFamilies(String)
    Deprecated for removal since 0.17: Use <outputFamilies> instead.
    org.apache.rat.plugin.BaseRatMojo.setListLicenses(String)
    Deprecated for removal since 0.17: Use <outputLicenses> instead.
    org.apache.rat.plugin.BaseRatMojo.setNoDefaultLicenses(boolean)
    Deprecated for removal since 0.17: Use <configurationNoDefaults> instead.
    org.apache.rat.plugin.BaseRatMojo.setOut(String)
    Deprecated for removal since 0.17: Use <outputFile> instead.
    org.apache.rat.plugin.BaseRatMojo.setScanHiddenDirectories(boolean)
    Deprecated for removal since 0.17: Use <inputIncludeStd> with 'HIDDEN_DIR' argument instead.
    org.apache.rat.plugin.BaseRatMojo.setStylesheet(String)
    Deprecated for removal since 0.17: Use <outputStyle> instead.
    org.apache.rat.plugin.BaseRatMojo.setXml(boolean)
    Deprecated for removal since 0.17: Use <outputStyle> with the 'xml' argument instead.
    org.apache.rat.testhelpers.TextUtils.assertPatternInTarget(String, String)
    use assertThat(target).containsPattern(pattern)
    org.apache.rat.testhelpers.TextUtils.assertPatternNotInTarget(String, String)
    use assertThat(target).doesNotContainPattern(pattern)
    org.apache.rat.testhelpers.TextUtils.isMatching(String, String)
    use assertThat(target).matches(pattern)

Copyright © 2006–2026 Apache Software Foundation. All rights reserved.