Class Command.SubcommandGroup

  • Enclosing class:
    Command

    public static class Command.SubcommandGroup
    extends java.lang.Object
    An Subcommand Group for a command.
    • Constructor Detail

      • SubcommandGroup

        public SubcommandGroup​(DataObject json)
    • Method Detail

      • getName

        @Nonnull
        public java.lang.String getName()
        The name of this subcommand group.
        Returns:
        The name
      • getDescription

        @Nonnull
        public java.lang.String getDescription()
        The description of this subcommand group.
        Returns:
        The description
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object