Class OssIndexConfiguration
-
- All Implemented Interfaces:
public final class OssIndexConfigurationThe configuration for the OSS Index provider.
-
-
Constructor Summary
Constructors Constructor Description OssIndexConfiguration(String serverUrl, String username, String password)
-
Method Summary
Modifier and Type Method Description final StringgetServerUrl()The base URL of the OSS Index REST API. final StringgetUsername()The username to use for authentication. final StringgetPassword()The password to use for authentication. -
-
Method Detail
-
getServerUrl
final String getServerUrl()
The base URL of the OSS Index REST API. If undefined, default base URL for the REST API of the public OSS Index service.
-
getUsername
final String getUsername()
The username to use for authentication. If not both username and password are provided, authentication is disabled.
-
getPassword
final String getPassword()
The password to use for authentication. If not both username and password are provided, authentication is disabled.
-
-
-
-