Package com.bc.ceres.core.runtime
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
run(Object argument, ProgressMonitor pm)
Executes client code.
-
-
-
Method Detail
-
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 aString[]
. 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
-
-