Package org.gradle.caching.http
Class HttpBuildCacheCredentials
java.lang.Object
org.gradle.caching.http.HttpBuildCacheCredentials
- All Implemented Interfaces:
- Credentials,- PasswordCredentials
Password credentials for a HTTP build cache backend.
- Since:
- 3.5
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the password to use when authenticating to the HTTP build cache.Returns the user name to use when authenticating to the HTTP build cache.voidsetPassword(String password) Sets the password to use when authenticating to the HTTP build cache.voidsetUsername(String username) Sets the user name to use when authenticating to the HTTP build cache.
- 
Constructor Details- 
HttpBuildCacheCredentialspublic HttpBuildCacheCredentials()
 
- 
- 
Method Details- 
getUsernameReturns the user name to use when authenticating to the HTTP build cache.- Specified by:
- getUsernamein interface- PasswordCredentials
- Returns:
- The user name. May be null.
 
- 
setUsernameSets the user name to use when authenticating to the HTTP build cache.- Specified by:
- setUsernamein interface- PasswordCredentials
- Parameters:
- username- The user name. May be null.
 
- 
getPasswordReturns the password to use when authenticating to the HTTP build cache.- Specified by:
- getPasswordin interface- PasswordCredentials
- Returns:
- The password. May be null.
 
- 
setPasswordSets the password to use when authenticating to the HTTP build cache.- Specified by:
- setPasswordin interface- PasswordCredentials
- Parameters:
- password- The password. May be null.
 
 
-