common-plugin / com.cognifide.gradle.common.build / Retry

Retry

class Retry

Constructors

<init>

Retry(common: CommonExtension)

Properties

common

val common: CommonExtension

delay

var delay: (Long) -> Long

times

var times: Long

Functions

after

fun after(times: Long, delay: (Long) -> Long): Unit

afterSecond

fun afterSecond(times: Long): Unit

afterSquaredSecond

fun afterSquaredSecond(times: Long): Unit

never

fun never(): Unit

withCountdown

fun <T, E> withCountdown(operation: String, block: (Long) -> T): T

withSleep

fun <T, E> withSleep(block: (Long) -> T): T

Companion Object Properties

SECOND_MILLIS

const val SECOND_MILLIS: Long

Companion Object Functions

none

fun none(common: CommonExtension): Retry