Interface RuntimeRunnable

All Known Implementing Classes:
ModuleManagerMain

public interface RuntimeRunnable
A runnable which is executed by the runtime.

This interface may be implemented by clients.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    run(Object argument, ProgressMonitor pm)
    Executes client code.
  • Method Details

    • run

      void run(Object argument, ProgressMonitor pm) throws Exception
      Executes client code.

      If this RuntimeRunnable is an application launched by the Ceres runtime, the argument parameter can safely be casted to a String[]. This array contains all command-line arguments passed to the application.

      Parameters:
      argument - the argument passed to the RuntimeRunnable, which may be null.
      pm - a progress monitor which may be used by the client code
      Throws:
      Exception - if any error occurs in the client code