Class GroovyCommand

java.lang.Object
org.jline.console.impl.AbstractCommandRegistry
org.jline.script.GroovyCommand
All Implemented Interfaces:
org.jline.console.CommandRegistry

public class GroovyCommand extends org.jline.console.impl.AbstractCommandRegistry implements org.jline.console.CommandRegistry
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
     

    Nested classes/interfaces inherited from interface org.jline.console.CommandRegistry

    org.jline.console.CommandRegistry.CommandSession
  • Constructor Summary

    Constructors
    Constructor
    Description
    GroovyCommand(Set<GroovyCommand.Command> commands, GroovyEngine engine, org.jline.console.Printer printer)
     
    GroovyCommand(GroovyEngine engine, org.jline.console.Printer printer)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    org.jline.console.CmdDesc
     
     
    void
    console(org.jline.console.CommandInput input)
     
    grab(org.jline.console.CommandInput input)
     
    inspect(org.jline.console.CommandInput input)
     

    Methods inherited from class org.jline.console.impl.AbstractCommandRegistry

    alias, commandAliases, commandNames, compileCompleters, doHelpDesc, getCommandMethods, hasCommand, invoke, registerCommands, registerCommands, registeredCommand, rename, saveException

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.jline.console.CommandRegistry

    commandAliases, commandNames, compileCompleters, hasCommand, invoke, name
  • Constructor Details

  • Method Details

    • commandInfo

      public List<String> commandInfo(String command)
      Specified by:
      commandInfo in interface org.jline.console.CommandRegistry
    • commandDescription

      public org.jline.console.CmdDesc commandDescription(List<String> args)
      Specified by:
      commandDescription in interface org.jline.console.CommandRegistry
    • grab

      public Object grab(org.jline.console.CommandInput input)
    • console

      public void console(org.jline.console.CommandInput input)
    • inspect

      public Object inspect(org.jline.console.CommandInput input)