Package cloud.commandframework
Class Description
- java.lang.Object
-
- cloud.commandframework.Description
-
public final class Description extends java.lang.ObjectCommandArgumentdescription
-
-
Method Summary
Modifier and Type Method Description static @NonNull Descriptionempty()Get an empty command description@NonNull java.lang.StringgetDescription()Get the command descriptionstatic @NonNull Descriptionof(@NonNull java.lang.String string)Create a command description instance@NonNull java.lang.StringtoString()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:
toStringin classjava.lang.Object- Returns:
- Command description
-
-