Chad
1.0
Chad
/
org.openredstone.chad
/
ChadSpec
Chad
Spec
object
ChadSpec
:
ConfigSpec
Content copied to clipboard
Functions
Properties
Functions
add
Inner
Spec
Link copied to clipboard
open
override
fun
addInnerSpec
(
spec
:
Spec
)
Content copied to clipboard
add
Item
Link copied to clipboard
open
override
fun
addItem
(
item
:
Item
<
*
>
)
Content copied to clipboard
get
Link copied to clipboard
open
operator
fun
get
(
path
:
String
)
:
Spec
Content copied to clipboard
lazy
Link copied to clipboard
inline
fun
<
T
>
lazy
(
name
:
String
?
,
description
:
String
,
noinline
thunk
:
(
config
:
ItemContainer
)
->
T
)
:
LazyProperty
<
T
>
Content copied to clipboard
optional
Link copied to clipboard
inline
fun
<
T
>
optional
(
default
:
T
,
name
:
String
?
,
description
:
String
)
:
OptionalProperty
<
T
>
Content copied to clipboard
plus
Link copied to clipboard
open
operator
fun
plus
(
spec
:
Spec
)
:
Spec
Content copied to clipboard
qualify
Link copied to clipboard
open
fun
qualify
(
item
:
Item
<
*
>
)
:
String
Content copied to clipboard
required
Link copied to clipboard
inline
fun
<
T
>
required
(
name
:
String
?
,
description
:
String
)
:
RequiredProperty
<
T
>
Content copied to clipboard
with
Fallback
Link copied to clipboard
open
fun
withFallback
(
spec
:
Spec
)
:
Spec
Content copied to clipboard
with
Prefix
Link copied to clipboard
open
fun
withPrefix
(
prefix
:
String
)
:
Spec
Content copied to clipboard
Properties
chad
Link copied to clipboard
val
chad
:
RequiredItem
<
ChadConfig
>
Content copied to clipboard
innerSpecs
Link copied to clipboard
open
override
val
innerSpecs
:
Set
<
Spec
>
Content copied to clipboard
items
Link copied to clipboard
open
override
val
items
:
Set
<
Item
<
*
>
>
Content copied to clipboard
prefix
Link copied to clipboard
override
val
prefix
:
String
Content copied to clipboard