com.gradle.develocity.agent.sbt.api.configuration
RemoteBuildCacheServer
Companion object RemoteBuildCacheServer
sealed trait RemoteBuildCacheServer extends AnyRef
The remote build cache server configuration.
- Alphabetic
- By Inheritance
- RemoteBuildCacheServer
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
allowInsecureProtocol: Boolean
Whether to allow insecure protocols when communicating with the build cache server.
Whether to allow insecure protocols when communicating with the build cache server.
If this is set to
true
, the build cache client will allow insecure protocols such as HTTP when communicating with the build cache server.The default is
false
. -
abstract
def
allowUntrusted: Boolean
Whether to allow communication with an untrusted build cache server.
Whether to allow communication with an untrusted build cache server.
If this is set to
true
, the build cache client will allow communication with an untrusted build cache server.The default is
false
. -
abstract
def
url: Option[URL]
The URL of the remote build cache server.
The URL of the remote build cache server.
If unspecified, defaults to
$develocityUrl/cache/
. -
abstract
def
useExpectContinue: Boolean
Whether to use the HTTP Expect: 100-continue header when communicating with the build cache server.
Whether to use the HTTP Expect: 100-continue header when communicating with the build cache server.
The default is
false
. -
abstract
def
usernameAndPassword: Option[UsernameAndPassword]
The username/password to use to authenticate against the remote build cache server.
The username/password to use to authenticate against the remote build cache server.
If specified, the username/password will be used instead of any available Develocity access key. Use of access keys should be preferred.
-
abstract
def
withAllowInsecureProtocol(allowInsecureProtocol: Boolean): RemoteBuildCacheServer
Create a copy of this configuration with an updated behavior regarding insecure protocols.
Create a copy of this configuration with an updated behavior regarding insecure protocols.
- allowInsecureProtocol
Whether to allow insecure protocols when communicating with the build cache server.
- returns
A copy of this configuration with an updated behavior regarding insecure protocols.
- See also
-
abstract
def
withAllowUntrusted(allowUntrusted: Boolean): RemoteBuildCacheServer
Create a copy of this configuration with an updated behavior regarding untrusted servers.
Create a copy of this configuration with an updated behavior regarding untrusted servers.
- allowUntrusted
Whether to allow communication with an untrusted build cache server.
- returns
A copy of this configuration with an updated behavior regarding untrusted servers.
- See also
-
abstract
def
withUrl(url: URL): RemoteBuildCacheServer
Create a copy of this configuration with an updated URL.
Create a copy of this configuration with an updated URL.
- url
The new URL to connect to.
- returns
A copy of this configuration with an updated URL.
- Since
1.1.2
- See also
-
abstract
def
withUrl(url: Option[URL]): RemoteBuildCacheServer
Create a copy of this configuration with an updated URL.
Create a copy of this configuration with an updated URL.
- url
The new URL to connect to.
- returns
A copy of this configuration with an updated URL.
- See also
-
abstract
def
withUseExpectContinue(useExpectContinue: Boolean): RemoteBuildCacheServer
Create a copy of this configuration with an updated behavior regarding the HTTP Expect: 100-continue header.
Create a copy of this configuration with an updated behavior regarding the HTTP Expect: 100-continue header.
- useExpectContinue
Whether to use the HTTP Expect: 100-continue header when communicating with the build cache server.
- returns
A copy of this configuration with an updated behavior regarding the HTTP Expect: 100-continue header.
- See also
-
abstract
def
withUsernameAndPassword(username: String, password: String): RemoteBuildCacheServer
Create a copy of this configuration with updated username and password.
Create a copy of this configuration with updated username and password.
- username
The username to use.
- password
The password to use.
- returns
A copy of this configuration with updated username and password.
-
abstract
def
withUsernameAndPassword(usernameAndPassword: Option[UsernameAndPassword]): RemoteBuildCacheServer
Create a copy of this configuration with updated username and password.
Create a copy of this configuration with updated username and password.
- usernameAndPassword
The new username and password to use.
- returns
A copy of this configuration with updated username and password.
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()