Skip to content

Commit

Permalink
refactor(ctrlx)!: Make all model classes internal
Browse files Browse the repository at this point in the history
These should not be part of the public API.

Signed-off-by: Sebastian Schuberth <[email protected]>
  • Loading branch information
sschuberth committed Jul 5, 2024
1 parent 8dfbbdb commit 3ac477a
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions plugins/reporters/ctrlx/src/main/kotlin/CtrlXAutomationModel.kt
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import org.ossreviewtoolkit.utils.spdx.isSpdxExpression
* The root element of "fossinfo.json" files, see https://github.com/boschrexroth/json-schema.
*/
@Serializable
data class FossInfo(
internal data class FossInfo(
/**
* The reference to the JSON schema in use.
*/
Expand Down Expand Up @@ -58,7 +58,7 @@ data class FossInfo(
* An OSS component.
*/
@Serializable
data class Component(
internal data class Component(
/**
* The OSS component name.
*/
Expand Down Expand Up @@ -124,7 +124,7 @@ data class Component(
* An OSS component's copyright information.
*/
@Serializable
data class CopyrightInformation(
internal data class CopyrightInformation(
/**
* The copyright text.
*/
Expand All @@ -140,7 +140,7 @@ data class CopyrightInformation(
* An OSS component's license.
*/
@Serializable
data class License(
internal data class License(
/**
* The license name.
*/
Expand Down Expand Up @@ -179,7 +179,7 @@ data class License(
/**
* The OSS component usage which may affect the required obligations.
*/
enum class Usage {
internal enum class Usage {
/** The OSS component is used without modifications. */
AsIs,

Expand All @@ -190,7 +190,7 @@ enum class Usage {
/**
* The OSS component integration which may affect the required obligations.
*/
enum class IntegrationMechanism {
internal enum class IntegrationMechanism {
/** DLL, Assembly. */
LinkedDynamically,

Expand Down

0 comments on commit 3ac477a

Please sign in to comment.