Credentials, PasswordCredentialspublic class HttpBuildCacheCredentials extends Object implements PasswordCredentials
| Constructor | Description |
|---|---|
HttpBuildCacheCredentials() |
| Modifier and Type | Method | Description |
|---|---|---|
String |
getPassword() |
Returns the password to use when authenticating to the HTTP build cache.
|
String |
getUsername() |
Returns the user name to use when authenticating to the HTTP build cache.
|
void |
setPassword(String password) |
Sets the password to use when authenticating to the HTTP build cache.
|
void |
setUsername(String username) |
Sets the user name to use when authenticating to the HTTP build cache.
|
@Nullable public String getUsername()
getUsername in interface PasswordCredentialspublic void setUsername(@Nullable
String username)
setUsername in interface PasswordCredentialsusername - The user name. May be null.@Nullable public String getPassword()
getPassword in interface PasswordCredentialspublic void setPassword(@Nullable
String password)
setPassword in interface PasswordCredentialspassword - The password. May be null.