@ApiStatus.Experimental
public final class ProfileNamespaces
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static ArgumentProfileNamespace<FlagProfile> |
FLAG
Flag profile allows passing boolean flags.
|
static ArgumentProfileNamespace<JoinProfile> |
JOIN
Join profile allows joining multiple arguments into one.
|
static ArgumentProfileNamespace<LiteralProfile> |
LITERAL
Literal profile allows
parsing static values such as
/user Rollczi group Admin where group is a literal. |
static ArgumentProfileNamespace<NullableProfile> |
NULLABLE
Nullable profile allows passing optional arguments.
|
static ArgumentProfileNamespace<QuotedProfile> |
QUOTED
Quoted profile allows passing arguments with spaces.
|
static ArgumentProfileNamespace<VarargsProfile> |
VARARGS
Varargs profile allows passing multiple arguments of the same type.
|
public static final ArgumentProfileNamespace<LiteralProfile> LITERAL
/user Rollczi group Admin where group is a literal.public static final ArgumentProfileNamespace<JoinProfile> JOIN
public static final ArgumentProfileNamespace<NullableProfile> NULLABLE
public static final ArgumentProfileNamespace<VarargsProfile> VARARGS
/command arg1,arg2,arg3.
The arguments are separated by a delimiter specified in the profile.public static final ArgumentProfileNamespace<QuotedProfile> QUOTED
/command "argument with spaces".public static final ArgumentProfileNamespace<FlagProfile> FLAG
/command --flag.