org.springframework.shell.commands

## Class VersionCommands

- java.lang.Object
- - org.springframework.shell.commands.VersionCommands

- All Implemented Interfaces:
    Aware, ApplicationContextAware, CommandMarker

      @Component
      public class VersionCommands
      extends Object
      implements CommandMarker, ApplicationContextAware

  Essential built-in shell commands.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `VersionCommands()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `setApplicationContext(ApplicationContext applicationContext)`
    `String` | `version()`

    - ### Methods inherited from class java.lang.Object

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

- - ### Constructor Detail

    - #### VersionCommands

          public VersionCommands()

  - ### Method Detail

    - #### version

          @CliCommand(value="version",
                      help="Displays shell version")
          public String version()

    - #### setApplicationContext

          public void setApplicationContext(ApplicationContext applicationContext)
                                     throws BeansException

      Specified by:
        `setApplicationContext` in interface `ApplicationContextAware`
      Throws:
        `BeansException`