Package: org.grails.cli.profile

## [Groovy] Interface Step

- Represents a step within a Command. Commands are made up of 1 or many steps.

  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Command` | `getCommand()` @return The command that this step is part of
    `` | `java.lang.String` | `getName()` @return The name of the step
    `` | `java.util.Map<java.lang.String, java.lang.Object>` | `getParameters()` @return The parameters to the step
    `` | `boolean` | `handle(ExecutionContext context)` Handles the command logic

- - ### Method Detail

    - #### Command getCommand()

      Returns:
        The command that this step is part of

    - #### java.lang.String getName()

      Returns:
        The name of the step

    - #### java.util.Map<java.lang.String, java.lang.Object> getParameters()

      Returns:
        The parameters to the step

    - #### boolean handle(ExecutionContext context)

      Handles the command logic

      Parameters:
        `context` - The ExecutionContext instead
      Returns:
        True if the command should proceed to the next step, false otherwise