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