Class Version


  • public class Version
    extends Command
    The version command.
    • Constructor Summary

      Constructors 
      Constructor Description
      Version()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String description()  
      int execute​(java.io.PrintWriter out, java.io.PrintWriter err)
      Executes the given command.
      • Methods inherited from class java.lang.Object

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

      • Version

        public Version()
    • Method Detail

      • description

        public java.lang.String description()
        Specified by:
        description in class Command
        Returns:
        Short description of the command.
      • execute

        public int execute​(java.io.PrintWriter out,
                           java.io.PrintWriter err)
                    throws java.io.IOException
        Description copied from class: Command
        Executes the given command.
        Specified by:
        execute in class Command
        Parameters:
        out - std out
        err - std err
        Returns:
        exit code, should be 0 for normal operation
        Throws:
        java.io.IOException