Eclipse Platform
2.0

org.eclipse.core.boot
Interface IPlatformRunnable

All Known Implementing Classes:
AntRunner

public interface IPlatformRunnable

Bootstrap type for the platform. Platform runnables represent executable entry points into plug-ins. Runnables can be configured into the Platform's org.eclipse.core.runtime.applications extension-point or be made available through code or extensions on other plug-in's extension-points.

Clients may implement this interface.


Field Summary
static Integer EXIT_OK
          Exit object indicating normal termination
static Integer EXIT_RESTART
          Exit object requesting platform restart
 
Method Summary
 Object run(Object args)
          Runs this runnable with the given args and returns a result.
 

Field Detail

EXIT_OK

public static final Integer EXIT_OK
Exit object indicating normal termination


EXIT_RESTART

public static final Integer EXIT_RESTART
Exit object requesting platform restart

Method Detail

run

public Object run(Object args)
           throws Exception
Runs this runnable with the given args and returns a result. The content of the args is unchecked and should conform to the expectations of the runnable being invoked. Typically this is a String array.

Throws:
Exception - if there is a problem running this runnable.

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.