Package groovy.ui

# Class GroovyMain.VersionProvider

java.lang.Object
groovy.ui.GroovyMain.VersionProvider

All Implemented Interfaces:
  `CommandLine.IVersionProvider`

Enclosing class:
  GroovyMain

public static class GroovyMain.VersionProvider extends Object implements CommandLine.IVersionProvider
Supplies version text for the command-line interface.

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `VersionProvider()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String[]`
  `getVersion()`
  Returns the CLI version lines.

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

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

- ## Constructor Details

  - ### VersionProvider

    public VersionProvider()

- ## Method Details

  - ### getVersion

    public String[] getVersion()
    Returns the CLI version lines.
    Specified by:
      `getVersion` in interface `CommandLine.IVersionProvider`
    Returns:
      the version lines