Class Dump


  • public class Dump
    extends Command
    The dump command.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.lang.String address  
      (package private) java.io.File destfile  
      (package private) int port  
      (package private) boolean reset  
      (package private) int retrycount  
    • Constructor Summary

      Constructors 
      Constructor Description
      Dump()  
    • 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
    • Field Detail

      • address

        java.lang.String address
      • port

        int port
      • destfile

        java.io.File destfile
      • reset

        boolean reset
      • retrycount

        int retrycount
    • Constructor Detail

      • Dump

        public Dump()
    • 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.lang.Exception
        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.lang.Exception - any exception that my occur during execution