Package: org.apache.groovy.groovysh.commands

## [Groovy] Class EditCommand

- org.apache.groovy.groovysh.commands.EditCommand

-     class EditCommand
      extends CommandSupport

  The 'edit' command. Opens Editor to write into the current Buffer.

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static String` | `COMMAND_NAME` |

  - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class CommandSupport` | `NEWLINE, io, log, messages, registry, shell`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `EditCommand(Groovysh shell)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Object` | `execute(List<String> args)`
    `` | `ProcessBuilder` | `getEditorProcessBuilder(String editCommand, String tempFilename)`
    `` | `void` | `replaceCurrentBuffer(List<String> contents)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class CommandSupport` | `alias, assertNoArguments, createCompleters, fail, fail, getAliases, getBinding, getBuffer, getBuffers, getClassLoader, getCompleter, getDescription, getHelp, getHidden, getHistory, getImports, getName, getShortcut, getUsage, getVariables`

- - ### Field Detail

    - #### public static final String COMMAND_NAME

  - ### Constructor Detail

    - #### EditCommand(Groovysh shell)

  - ### Method Detail

    - #### @Override
      Object execute(List<String> args)

    - #### ProcessBuilder getEditorProcessBuilder(String editCommand, String tempFilename)

    - #### void replaceCurrentBuffer(List<String> contents)