Package org.ossreviewtoolkit.model
Object PackageProvider.Companion
-
- All Implemented Interfaces:
public class PackageProvider.Companion
-
-
Field Summary
Fields Modifier and Type Field Description public final static PackageProvider.CompanionINSTANCE
-
Method Summary
Modifier and Type Method Description final PackageProviderget(String url)Return the PackageProvider as determined from the given url, or null if there is no match. final PackageProviderget(RemoteArtifact artifact)Return the PackageProvider as determined from the given artifact's URL, or null if there is no match. final PackageProviderget(VcsInfo vcs)Return the PackageProvider as determined from the given vcs URL, or null if there is no match. -
-
Method Detail
-
get
final PackageProvider get(String url)
Return the PackageProvider as determined from the given url, or null if there is no match.
-
get
final PackageProvider get(RemoteArtifact artifact)
Return the PackageProvider as determined from the given artifact's URL, or null if there is no match.
-
get
final PackageProvider get(VcsInfo vcs)
Return the PackageProvider as determined from the given vcs URL, or null if there is no match.
-
-
-
-