NexusStatefulOperation

data class NexusStatefulOperation(project: Project, nexusUrl: String, user: Provider<String>, password: Provider<String>, timeOut: Duration, connectionTimeOut: Duration)

Lazy class acting as a container for stateful operations on Nexus.

Constructors

Link copied to clipboard
constructor(project: Project, nexusUrl: String, user: Provider<String>, password: Provider<String>, timeOut: Duration, connectionTimeOut: Duration)

Properties

Link copied to clipboard
val client: NexusClient

The NexusClient.

Link copied to clipboard

Repository description.

Link copied to clipboard

Lazily computed staging repository id.

Link copied to clipboard

Lazily computed staging repository url.

Link copied to clipboard

Lazily computed staging profile id.

Link copied to clipboard
val stagingRepository: StagingRepositoryDescriptor

Lazily computed staging repository descriptor.

Functions

Link copied to clipboard
fun close()

Closes the repository.

Link copied to clipboard
fun drop()

Drops the repository. Must be called after close().

Link copied to clipboard
fun release()

Releases the repository. Must be called after close().