Package org.gradle.caching.http
Klasse HttpBuildCacheCredentials
java.lang.Object
org.gradle.caching.http.HttpBuildCacheCredentials
- Alle implementierten Schnittstellen:
Credentials,PasswordCredentials
Password credentials for a HTTP build cache backend.
- Seit:
- 3.5
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungReturns 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.
-
Konstruktordetails
-
HttpBuildCacheCredentials
public HttpBuildCacheCredentials()
-
-
Methodendetails
-
getUsername
Returns the user name to use when authenticating to the HTTP build cache.- Angegeben von:
getUsernamein SchnittstellePasswordCredentials- Gibt zurück:
- The user name. May be null.
-
setUsername
Sets the user name to use when authenticating to the HTTP build cache.- Angegeben von:
setUsernamein SchnittstellePasswordCredentials- Parameter:
username- The user name. May be null.
-
getPassword
Returns the password to use when authenticating to the HTTP build cache.- Angegeben von:
getPasswordin SchnittstellePasswordCredentials- Gibt zurück:
- The password. May be null.
-
setPassword
Sets the password to use when authenticating to the HTTP build cache.- Angegeben von:
setPasswordin SchnittstellePasswordCredentials- Parameter:
password- The password. May be null.
-