Klasse HttpBuildCacheCredentials

java.lang.Object
org.gradle.caching.http.HttpBuildCacheCredentials
Alle implementierten Schnittstellen:
Credentials, PasswordCredentials

public class HttpBuildCacheCredentials extends Object implements PasswordCredentials
Password credentials for a HTTP build cache backend.
Seit:
3.5
  • Konstruktordetails

    • HttpBuildCacheCredentials

      public HttpBuildCacheCredentials()
  • Methodendetails

    • getUsername

      @Nullable public String getUsername()
      Returns the user name to use when authenticating to the HTTP build cache.
      Angegeben von:
      getUsername in Schnittstelle PasswordCredentials
      Gibt zurück:
      The user name. May be null.
    • setUsername

      public void setUsername(@Nullable String username)
      Sets the user name to use when authenticating to the HTTP build cache.
      Angegeben von:
      setUsername in Schnittstelle PasswordCredentials
      Parameter:
      username - The user name. May be null.
    • getPassword

      @Nullable public String getPassword()
      Returns the password to use when authenticating to the HTTP build cache.
      Angegeben von:
      getPassword in Schnittstelle PasswordCredentials
      Gibt zurück:
      The password. May be null.
    • setPassword

      public void setPassword(@Nullable String password)
      Sets the password to use when authenticating to the HTTP build cache.
      Angegeben von:
      setPassword in Schnittstelle PasswordCredentials
      Parameter:
      password - The password. May be null.