Class CommandInfo

  • All Implemented Interfaces:
    SerializableObject

    public class CommandInfo
    extends java.lang.Object
    implements SerializableObject
    The commandInfo class allows to easy serialize the command information
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String description
      The command description with a basic description
      protected java.lang.String[] names
      The configured names by the command
      protected java.lang.String permission
      The permission, that is configured by this command, that the command sender should has
      protected java.lang.String usage
      The easiest and important usage for the command
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandInfo()  
      CommandInfo​(java.lang.String[] names, java.lang.String permission, java.lang.String description, java.lang.String usage)  
    • 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
    • Constructor Detail

      • CommandInfo

        public CommandInfo​(java.lang.String[] names,
                           java.lang.String permission,
                           java.lang.String description,
                           java.lang.String usage)
      • CommandInfo

        public CommandInfo()
    • Method Detail

      • getNames

        public java.lang.String[] getNames()
      • getPermission

        public java.lang.String getPermission()
      • getDescription

        public java.lang.String getDescription()
      • getUsage

        public java.lang.String getUsage()