Package: org.grails.cli.profile

## [Groovy] Interface ProfileCommand

- org.grails.cli.profile.ProfileCommand

- All Superinterfaces:
    Command, Named

  A Command applicable only to a certain Profile

  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `Profile` | `getProfile()` @return The profile of the command
    `` | `void` | `setProfile(Profile profile)` Sets the command profile

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `interface Command` | `getDescription, handle`
    `interface Named` | `getName`

- - ### Method Detail

    - #### Profile getProfile()

      Returns:
        The profile of the command

    - #### void setProfile(Profile profile)

      Sets the command profile

      Parameters:
        `profile` - The profile