DevelocityApi

Develocity API client. API endpoints are grouped exactly as in the Develocity API Manual:

Create an instance with newInstance:

val api = DevelocityApi.newInstance()
api.buildsApi.getBuilds(...)

You may pass a default Config, e.g. for sharing OkHttpClient resources:

val options = Options(clientBuilder = myOwnOkHttpClient.newBuilder())
val api = DevelocityApi.newInstance(options)
api.buildsApi.getBuilds(...)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
abstract val authApi: AuthApi
Link copied to clipboard
Link copied to clipboard
abstract val buildsApi: BuildsApi
Link copied to clipboard
abstract val config: Config

Library configuration options.

Link copied to clipboard
abstract val metaApi: MetaApi
Link copied to clipboard
abstract val projectsApi: ProjectsApi
Link copied to clipboard
Link copied to clipboard
abstract val testsApi: TestsApi

Functions

Link copied to clipboard
abstract fun shutdown()

Release resources allowing the program to finish before the internal client's idle timeout.