Class ResolvedLicenseLocation
-
- All Implemented Interfaces:
public final class ResolvedLicenseLocationA resolved text location.
-
-
Field Summary
Fields Modifier and Type Field Description private final Provenanceprovenanceprivate final TextLocationlocationprivate final LicenseFindingCurationappliedCurationprivate final List<PathExclude>matchingPathExcludesprivate final Set<ResolvedCopyrightFinding>copyrights
-
Constructor Summary
Constructors Constructor Description ResolvedLicenseLocation(Provenance provenance, TextLocation location, LicenseFindingCuration appliedCuration, List<PathExclude> matchingPathExcludes, Set<ResolvedCopyrightFinding> copyrights)
-
Method Summary
Modifier and Type Method Description final ProvenancegetProvenance()The provenance of the file. final TextLocationgetLocation()The text location relative to the root of the VCS or source artifact defined by provenance. final LicenseFindingCurationgetAppliedCuration()The applied LicenseFindingCuration, or null if none were applied. final List<PathExclude>getMatchingPathExcludes()All PathExcludes matching this location. final Set<ResolvedCopyrightFinding>getCopyrights()All copyright findings associated to this license location, excluding copyright garbage. -
-
Constructor Detail
-
ResolvedLicenseLocation
ResolvedLicenseLocation(Provenance provenance, TextLocation location, LicenseFindingCuration appliedCuration, List<PathExclude> matchingPathExcludes, Set<ResolvedCopyrightFinding> copyrights)
-
-
Method Detail
-
getProvenance
final Provenance getProvenance()
The provenance of the file.
-
getLocation
final TextLocation getLocation()
The text location relative to the root of the VCS or source artifact defined by provenance.
-
getAppliedCuration
final LicenseFindingCuration getAppliedCuration()
The applied LicenseFindingCuration, or null if none were applied.
-
getMatchingPathExcludes
final List<PathExclude> getMatchingPathExcludes()
All PathExcludes matching this location.
-
getCopyrights
final Set<ResolvedCopyrightFinding> getCopyrights()
All copyright findings associated to this license location, excluding copyright garbage.
-
-
-
-