Package cloud.commandframework
Class Description
- java.lang.Object
-
- cloud.commandframework.Description
-
- All Implemented Interfaces:
ArgumentDescription
@Deprecated public final class Description extends java.lang.Object implements ArgumentDescription
Deprecated.to become package-private since 1.4.0. UseArgumentDescriptioninstead.CommandArgumentdescription
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static @NonNull Descriptionempty()Deprecated.for removal since 1.4.0.@NonNull java.lang.StringgetDescription()Deprecated.Get the command descriptionstatic @NonNull Descriptionof(@NonNull java.lang.String string)Deprecated.for removal since 1.4.0.@NonNull java.lang.StringtoString()Deprecated.Get the command description-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface cloud.commandframework.ArgumentDescription
isEmpty
-
-
-
-
Method Detail
-
empty
@Deprecated public static @NonNull Description empty()
Deprecated.for removal since 1.4.0. SeeArgumentDescription.empty()Get an empty command description- Returns:
- Command description
-
of
@Deprecated public static @NonNull Description of(@NonNull java.lang.String string)
Deprecated.for removal since 1.4.0. SeeArgumentDescription.of(String)Create a command description instance- Parameters:
string- Command description- Returns:
- Created command description
-
getDescription
public @NonNull java.lang.String getDescription()
Deprecated.Get the command description- Specified by:
getDescriptionin interfaceArgumentDescription- Returns:
- Command description
-
toString
public @NonNull java.lang.String toString()
Deprecated.Get the command description- Overrides:
toStringin classjava.lang.Object- Returns:
- Command description
-
-