ProfileCommand (Grails 3.1.10)
Date: 2016-07-28

Package: org.grails.cli.profile

## [Groovy] Interface ProfileCommand

- grails.util.Named

- All Superinterfaces:
    Command, Named

  A Command applicable only to a certain Profile

  Authors:
    Graeme Rocher
  Since:
    3.0

- - ### Methods Summary

    Methods
    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