Credentials
, PasswordCredentials
public 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 PasswordCredentials
public void setUsername(@Nullable String username)
setUsername
in interface PasswordCredentials
username
- The user name. May be null.@Nullable public String getPassword()
getPassword
in interface PasswordCredentials
public void setPassword(@Nullable String password)
setPassword
in interface PasswordCredentials
password
- The password. May be null.