Package picocli
Class CommandLine.NoVersionProvider
- java.lang.Object
-
- picocli.CommandLine.NoVersionProvider
-
- All Implemented Interfaces:
CommandLine.IVersionProvider
- Enclosing class:
- CommandLine
private static class CommandLine.NoVersionProvider extends java.lang.Object implements CommandLine.IVersionProvider
-
-
Constructor Summary
Constructors Modifier Constructor Description private
NoVersionProvider()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String[]
getVersion()
Returns version information for a command.
-
-
-
Method Detail
-
getVersion
public java.lang.String[] getVersion() throws java.lang.Exception
Description copied from interface:CommandLine.IVersionProvider
Returns version information for a command.- Specified by:
getVersion
in interfaceCommandLine.IVersionProvider
- Returns:
- version information (each string in the array is displayed on a separate line)
- Throws:
java.lang.Exception
- an exception detailing what went wrong when obtaining version information
-
-