SolveOptions

interface SolveOptions: Any

Fields

Name Description
abstract isLazy: Boolean
open isEager: Boolean
abstract timeout: TimeDuration
abstract limit: Int
abstract customOptions: Map<String, Any>

Methods

setLazy

abstract fun setLazy(value: Boolean): SolveOptions

Parameters

Name Description
value: Boolean

ReturnValue

Name Description
SolveOptions

setTimeout

abstract fun setTimeout(value: TimeDuration): SolveOptions

Parameters

Name Description
value: TimeDuration

ReturnValue

Name Description
SolveOptions

setLimit

abstract fun setLimit(value: Int): SolveOptions

Parameters

Name Description
value: Int

ReturnValue

Name Description
SolveOptions

setOptions

abstract fun <X : Any> setOptions(options: Map<String, X>): SolveOptions

Parameters

Name Description
options: Map<String, X>

ReturnValue

Name Description
SolveOptions

addOptions

open fun <X : Any> addOptions(options: Map<String, X>): SolveOptions

Parameters

Name Description
options: Map<String, X>

ReturnValue

Name Description
SolveOptions

setOption

open fun <X : Any> setOption(key: String, value: X): SolveOptions

Parameters

Name Description
key: String
value: X

ReturnValue

Name Description
SolveOptions

addOption

open fun <X : Any> addOption(key: String, value: X): SolveOptions

Parameters

Name Description
key: String
value: X

ReturnValue

Name Description
SolveOptions

CompanionObject

SolveOptions

interface SolveOptions: Any

Fields

Name Description
const MAX_TIMEOUT: Long
const ALL_SOLUTIONS: Int
val DEFAULT: SolveOptions

Methods

of

fun <X : Any> of(lazy: Boolean, timeout: TimeDuration, limit: Int, customOption: Pair<String, X>, vararg customOptions: Pair<String, X>): SolveOptions

Parameters

Name Description
lazy: Boolean
timeout: TimeDuration
limit: Int
customOption: Pair<String, X>
vararg customOptions: Pair<String, X>

ReturnValue

Name Description
SolveOptions

of

fun of(lazy: Boolean, timeout: TimeDuration, limit: Int): SolveOptions

Parameters

Name Description
lazy: Boolean
timeout: TimeDuration
limit: Int

ReturnValue

Name Description
SolveOptions

allLazily

fun allLazily(): SolveOptions

ReturnValue

Name Description
SolveOptions

someLazily

fun someLazily(limit: Int): SolveOptions

Parameters

Name Description
limit: Int

ReturnValue

Name Description
SolveOptions

allLazilyWithTimeout

fun allLazilyWithTimeout(timeout: TimeDuration): SolveOptions

Parameters

Name Description
timeout: TimeDuration

ReturnValue

Name Description
SolveOptions

someLazilyWithTimeout

fun someLazilyWithTimeout(limit: Int, timeout: TimeDuration): SolveOptions

Parameters

Name Description
limit: Int
timeout: TimeDuration

ReturnValue

Name Description
SolveOptions

allEagerly

fun allEagerly(): SolveOptions

ReturnValue

Name Description
SolveOptions

someEagerly

fun someEagerly(limit: Int): SolveOptions

Parameters

Name Description
limit: Int

ReturnValue

Name Description
SolveOptions

allEagerlyWithTimeout

fun allEagerlyWithTimeout(timeout: TimeDuration): SolveOptions

Parameters

Name Description
timeout: TimeDuration

ReturnValue

Name Description
SolveOptions

someEagerlyWithTimeout

fun someEagerlyWithTimeout(limit: Int, timeout: TimeDuration): SolveOptions

Parameters

Name Description
limit: Int
timeout: TimeDuration

ReturnValue

Name Description
SolveOptions