Interface Credentials
public interface Credentials
Configures the credentials when accessing the remote build cache.
The specified values will take precedence over the values defined in the develocity.xml.
- Since:
- 1.21
-
Method Summary
Modifier and TypeMethodDescriptionGets the remote build cache password.Gets the remote build cache username.voidsetPassword(String password) Sets the remote build cache password.voidsetUsername(String username) Sets the remote build cache username.
-
Method Details
-
getUsername
Gets the remote build cache username.- Returns:
- the remote build cache username or
null
-
setUsername
Sets the remote build cache username.Configuration via the
develocity.cache.remote.usernamesystem property will always take precedence.- Parameters:
username- the remote build cache username ornull
-
getPassword
Gets the remote build cache password.- Returns:
- the remote build cache password or
null
-
setPassword
Sets the remote build cache password.Configuration via the
develocity.cache.remote.passwordsystem property will always take precedence.- Parameters:
password- the remote build cache password ornull
-