Class CommandExpander


  • public class CommandExpander
    extends java.lang.Object
    Expands a command (or list of commands) into a sequence of Commands to execute.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.util.Collection<CommandExec> expand​(@NotNull java.lang.CharSequence commandList, @NotNull Commands commands)
      Expands a command list into a sequence of Commands to execute.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • expand

        public static java.util.Collection<CommandExec> expand​(@NotNull
                                                               @NotNull java.lang.CharSequence commandList,
                                                               @NotNull
                                                               @NotNull Commands commands)
        Expands a command list into a sequence of Commands to execute.
        Parameters:
        commandList - the commands to split
        commands - the commands to use
        Returns:
        the list of commands