Class CommandArray

java.lang.Object
xyz.ronella.trivial.handy.impl.CommandArray
All Implemented Interfaces:
ICommandArray

public final class CommandArray extends Object implements ICommandArray
The default implementation of ICommandArray.
Since:
2.10.0
  • Method Details

    • getCommand

      public String[] getCommand()
      Generates the command as array.
      Specified by:
      getCommand in interface ICommandArray
      Returns:
      The array representation of the command.
    • getBuilder

      public static CommandArray.CommandArrayBuilder getBuilder()
      Return the builder of the CommandArray.
      Returns:
      An instance of CommandArrayBuilder.