kbrig-core
0.1.0
common
kbrig-core
/
org.anvilpowered.kbrig.builder
/
RequiredArgumentBuilder
Required
Argument
Builder
class
RequiredArgumentBuilder
<
S
,
T
>
:
ArgumentBuilder
<
S
,
RequiredArgumentBuilder
<
S
,
T
>
>
Members
Properties
children
Link copied to clipboard
val
children
:
Map
<
String
,
CommandNode
<
S
>
>
command
Link copied to clipboard
var
command
:
Command
<
S
>
?
forks
Link copied to clipboard
var
forks
:
Boolean
name
Link copied to clipboard
val
name
:
String
redirect
Link copied to clipboard
var
redirect
:
CommandNode
<
S
>
?
requirement
Link copied to clipboard
var
requirement
:
(
S
)
->
Boolean
Functions
build
Link copied to clipboard
open
override
fun
build
(
)
:
ArgumentCommandNode
<
S
,
T
>
executes
Link copied to clipboard
fun
executes
(
command
:
Command
<
S
>
?
)
:
RequiredArgumentBuilder
<
S
,
T
>
fork
Link copied to clipboard
fun
fork
(
target
:
CommandNode
<
S
>
)
:
RequiredArgumentBuilder
<
S
,
T
>
forward
Link copied to clipboard
fun
forward
(
target
:
CommandNode
<
S
>
?
,
forks
:
Boolean
)
:
RequiredArgumentBuilder
<
S
,
T
>
redirect
Link copied to clipboard
fun
redirect
(
target
:
CommandNode
<
S
>
)
:
RequiredArgumentBuilder
<
S
,
T
>
requires
Link copied to clipboard
fun
requires
(
requirement
:
(
S
)
->
Boolean
)
:
RequiredArgumentBuilder
<
S
,
T
>
suggests
Link copied to clipboard
fun
suggests
(
provider
:
SuggestionProvider
<
S
>
?
)
:
RequiredArgumentBuilder
<
S
,
T
>
then
Link copied to clipboard
fun
then
(
argument
:
ArgumentBuilder
<
S
,
*
>
)
:
RequiredArgumentBuilder
<
S
,
T
>
fun
then
(
argument
:
CommandNode
<
S
>
)
:
RequiredArgumentBuilder
<
S
,
T
>