Class Sw360StorageConfiguration
-
- All Implemented Interfaces:
-
org.ossreviewtoolkit.model.config.ScanStorageConfiguration
public final class Sw360StorageConfiguration implements ScanStorageConfiguration
A class to hold the configuration for SW360.
-
-
Method Summary
Modifier and Type Method Description final StringgetRestUrl()The REST API URL of SW360. final StringgetAuthUrl()The authentication URL of your SW360 instance. final StringgetUsername()The username for the requests to SW360. final StringgetPassword()The password of the SW360 user. final StringgetClientId()The client ID of the SW360 instance for the two-step authentication. final StringgetClientPassword()The password of the client ID. final StringgetToken()Optional access token that can be used instead of the authUrl, username, password, clientId and clientPassword if the token is already known. -
-
Method Detail
-
getRestUrl
final String getRestUrl()
The REST API URL of SW360.
-
getAuthUrl
final String getAuthUrl()
The authentication URL of your SW360 instance.
-
getUsername
final String getUsername()
The username for the requests to SW360.
-
getPassword
final String getPassword()
The password of the SW360 user.
-
getClientId
final String getClientId()
The client ID of the SW360 instance for the two-step authentication.
-
getClientPassword
final String getClientPassword()
The password of the client ID.
-
-
-
-