Mokkery
Toggle table of contents
3.3.0
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
Mokkery
mokkery-core-tooling
/
dev.mokkery.internal.options
/
MokkeryOption
Mokkery
Option
@
InternalMokkeryApi
data
class
MokkeryOption
<
T
>
(
val
name
:
String
,
val
description
:
String
,
val
required
:
Boolean
,
val
allowMultipleOccurrences
:
Boolean
,
val
type
:
MokkeryOptionType
<
T
>
,
val
defaultValue
:
T
?
)
(
source
)
Members
Members & Extensions
Constructors
Mokkery
Option
Link copied to clipboard
constructor
(
name
:
String
,
description
:
String
,
required
:
Boolean
,
allowMultipleOccurrences
:
Boolean
,
type
:
MokkeryOptionType
<
T
>
,
defaultValue
:
T
?
)
Properties
allow
Multiple
Occurrences
Link copied to clipboard
val
allowMultipleOccurrences
:
Boolean
default
Value
Link copied to clipboard
val
defaultValue
:
T
?
description
Link copied to clipboard
val
description
:
String
name
Link copied to clipboard
val
name
:
String
required
Link copied to clipboard
val
required
:
Boolean
type
Link copied to clipboard
val
type
:
MokkeryOptionType
<
T
>
Functions
get
Link copied to clipboard
@
InternalMokkeryApi
fun
<
P
>
MokkeryOption
<
*
>
.
get
(
projection
:
MokkeryOptionProjection
<
P
>
)
:
P