Kevlar
2.0.13
common
kevlar-core
/
kevlar.builders
/
Actions1Builder
Actions1Builder
open
class
Actions1Builder
<
I
,
O
>
(
val
actions
:
MutableList
<
Action1
<
I
,
O
>
>
=
mutableListOf()
)
:
ActionsBuilder
<
Action1
<
I
,
O
>
,
(
I
)
->
O
>
Members
Constructors
Actions1Builder
Link copied to clipboard
constructor
(
actions
:
MutableList
<
Action1
<
I
,
O
>
>
=
mutableListOf()
)
Functions
on
Link copied to clipboard
open
override
fun
on
(
name
:
String
,
key
:
String
,
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Add
Link copied to clipboard
fun
onAdd
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
fun
onAdd
(
entity
:
String
,
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Add
All
Link copied to clipboard
fun
onAddAll
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
fun
onAddAll
(
col
:
Collection
<
Any
?
>
,
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Cancel
Link copied to clipboard
fun
onCancel
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Create
Link copied to clipboard
fun
onCreate
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Delete
Link copied to clipboard
fun
onDelete
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Delete
All
Link copied to clipboard
fun
onDeleteAll
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
fun
onDeleteAll
(
col
:
Collection
<
Any
?
>
,
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Duplicate
Link copied to clipboard
fun
onDuplicate
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Edit
Link copied to clipboard
fun
onEdit
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Go
Back
Link copied to clipboard
fun
onGoBack
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
No
Link copied to clipboard
fun
onNo
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Ok
Link copied to clipboard
fun
onOk
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Retry
Link copied to clipboard
fun
onRetry
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Update
Link copied to clipboard
fun
onUpdate
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
View
Link copied to clipboard
fun
onView
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
on
Yes
Link copied to clipboard
fun
onYes
(
handler
:
(
I
)
->
O
)
:
Action1
<
I
,
O
>
Properties
actions
Link copied to clipboard
val
actions
:
MutableList
<
Action1
<
I
,
O
>
>