public class StandaloneUpdateApplication extends Object implements IPlatformRunnable
Note: This class/interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is being made available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
Modifier and Type | Field and Description |
---|---|
static Integer |
EXIT_ERROR |
EXIT_OK, EXIT_RELAUNCH, EXIT_RESTART
Constructor and Description |
---|
StandaloneUpdateApplication() |
Modifier and Type | Method and Description |
---|---|
static void |
exceptionLogged() |
Object |
run(Object args)
Runs this runnable with the given args and returns a result.
|
public static final Integer EXIT_ERROR
public Object run(Object args) throws Exception
IPlatformRunnable
String
array.
Applications can return any object they like. If an Integer
is returned
it is treated as the program exit code if Eclipse is exiting.run
in interface IPlatformRunnable
args
- the argument(s) to pass to the applicationException
- if there is a problem running this runnable.IPlatformRunnable.EXIT_OK
,
IPlatformRunnable.EXIT_RESTART
,
IPlatformRunnable.EXIT_RELAUNCH
public static void exceptionLogged()
Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.