Interface CompilationMonitor


public interface CompilationMonitor
The CompilationMonitor interface is implemented by classes that are supposed to monitor the progress of a multi MIB file compilation operation of the SmiManager.
Author:
Frank Fock
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    compilationProgress​(String moduleName, int current, int maxCount)
    Notifies about the current compilation progress.
    boolean
    loadingProgress​(String fileName, int current, int maxCount)
    Notifies about the current loading (IO) progress.
    boolean
    sortingProgress​(String fileName, int current, int maxCount)
    Notifies about the current sorting progress.
  • Method Details

    • loadingProgress

      boolean loadingProgress(String fileName, int current, int maxCount)
      Notifies about the current loading (IO) progress.
      Parameters:
      fileName - the name of the currently processed MIB or ZIP file.
      current - the index of the current file (zero based).
      maxCount - the maximum count of files to be processed.
      Returns:
      false if the compilation (loading) should be aborted.
    • sortingProgress

      boolean sortingProgress(String fileName, int current, int maxCount)
      Notifies about the current sorting progress.
      Parameters:
      fileName - the name of the currently processed MIB or ZIP file.
      current - the index of the current file (zero based).
      maxCount - the maximum count of files to be processed.
      Returns:
      false if the compilation (sorting) should be aborted.
    • compilationProgress

      boolean compilationProgress(String moduleName, int current, int maxCount)
      Notifies about the current compilation progress.
      Parameters:
      moduleName - the name of the last compiled MIB module.
      current - the index of the current MIB module (zero based).
      maxCount - the maximum count of MIB modules to be compiled.
      Returns:
      false if the compilation should be aborted.