Class JSftpModule.ProgressMonitor

java.lang.Object
ecmwf.common.ectrans.module.JSftpModule.ProgressMonitor
All Implemented Interfaces:
com.jcraft.jsch.SftpProgressMonitor
Enclosing class:
JSftpModule

public static final class JSftpModule.ProgressMonitor extends Object implements com.jcraft.jsch.SftpProgressMonitor
The Class ProgressMonitor.
  • Constructor Details

    • ProgressMonitor

      public ProgressMonitor()
  • Method Details

    • init

      public void init(int op, String src, String dest, long max)
      Inits the.
      Specified by:
      init in interface com.jcraft.jsch.SftpProgressMonitor
      Parameters:
      op - the op
      src - the src
      dest - the dest
      max - the max
    • count

      public boolean count(long count)
      Count.
      Specified by:
      count in interface com.jcraft.jsch.SftpProgressMonitor
      Parameters:
      count - the count
      Returns:
      true, if successful
    • end

      public void end()
      End.
      Specified by:
      end in interface com.jcraft.jsch.SftpProgressMonitor
    • isEnded

      public boolean isEnded()
      Checks if is ended.
      Returns:
      true, if is ended