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 privateNoVersionProvider()
-
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.ExceptionDescription copied from interface:CommandLine.IVersionProviderReturns version information for a command.- Specified by:
getVersionin 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
-
-