Package cloud.commandframework
Class Description
- java.lang.Object
-
- cloud.commandframework.Description
-
public final class Description extends java.lang.Object
CommandArgument
description
-
-
Method Summary
Modifier and Type Method Description static @NonNull Description
empty()
Get an empty command description@NonNull java.lang.String
getDescription()
Get the command descriptionstatic @NonNull Description
of(@NonNull java.lang.String string)
Create a command description instance@NonNull java.lang.String
toString()
Get the command description
-
-
-
Method Detail
-
empty
public static @NonNull Description empty()
Get an empty command description- Returns:
- Command description
-
of
public static @NonNull Description of(@NonNull java.lang.String string)
Create a command description instance- Parameters:
string
- Command description- Returns:
- Created command description
-
getDescription
public @NonNull java.lang.String getDescription()
Get the command description- Returns:
- Command description
-
toString
public @NonNull java.lang.String toString()
Get the command description- Overrides:
toString
in classjava.lang.Object
- Returns:
- Command description
-
-