Class CommandInfo
- java.lang.Object
-
- de.dytanic.cloudnet.common.command.CommandInfo
-
public class CommandInfo extends java.lang.ObjectThe commandInfo class allows to easy serialize the command information
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.StringdescriptionThe command description with a basic descriptionprotected java.lang.String[]namesThe configured names by the commandprotected java.lang.StringpermissionThe permission, that is configured by this command, that the command sender should hasprotected java.lang.StringusageThe easiest and important usage for the command
-
Constructor Summary
Constructors Constructor Description CommandInfo(java.lang.String[] names, java.lang.String permission, java.lang.String description, java.lang.String usage)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()java.lang.String[]getNames()java.lang.StringgetPermission()java.lang.StringgetUsage()
-
-
-
Field Detail
-
names
protected java.lang.String[] names
The configured names by the command
-
permission
protected java.lang.String permission
The permission, that is configured by this command, that the command sender should has
-
description
protected java.lang.String description
The command description with a basic description
-
usage
protected java.lang.String usage
The easiest and important usage for the command
-
-