Package picocli

Class CommandLine.NoVersionProvider

    • 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.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • NoVersionProvider

        private NoVersionProvider()
    • 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 interface CommandLine.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