Skip to content

Commit

Permalink
docs(plugins): Align documentation for the ALL properties
Browse files Browse the repository at this point in the history
Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Nov 24, 2023
1 parent b76b7a7 commit 77d8804
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/commands/api/src/main/kotlin/OrtCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ import org.ossreviewtoolkit.utils.ort.ORT_CONFIG_FILENAME
abstract class OrtCommand(name: String, help: String) : CliktCommand(name = name, help = help), Plugin {
companion object {
/**
* All ORT commands available in the classpath, associated by their names.
* All [ORT commands][OrtCommand] available in the classpath, associated by their names.
*/
val ALL by lazy { Plugin.getAll<OrtCommand>() }
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ import org.ossreviewtoolkit.utils.common.getDuplicates
interface PackageConfigurationProviderFactory<CONFIG> :
TypedConfigurablePluginFactory<CONFIG, PackageConfigurationProvider> {
companion object {
/**
* All [package configuration provider factories][PackageConfigurationProviderFactory] available in the
* classpath, associated by their names.
*/
val ALL by lazy { Plugin.getAll<PackageConfigurationProviderFactory<*>>() }

Check notice on line 40 in plugins/package-configuration-providers/api/src/main/kotlin/PackageConfigurationProviderFactory.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Class member can have 'private' visibility

Property 'ALL' could be private

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ import org.ossreviewtoolkit.utils.common.getDuplicates
*/
interface PackageCurationProviderFactory<CONFIG> : TypedConfigurablePluginFactory<CONFIG, PackageCurationProvider> {
companion object {
/**
* All [package curation provider factories][PackageCurationProviderFactory] available in the classpath,
* associated by their names.
*/
val ALL by lazy { Plugin.getAll<PackageCurationProviderFactory<*>>() }

Check notice on line 40 in plugins/package-curation-providers/api/src/main/kotlin/PackageCurationProviderFactory.kt

View workflow job for this annotation

GitHub Actions / Qodana Community for JVM

Class member can have 'private' visibility

Property 'ALL' could be private

/**
Expand Down

0 comments on commit 77d8804

Please sign in to comment.