public class DefaultMainService extends AbstractService implements MainService
MainService.MainService.Main| Constructor and Description |
|---|
DefaultMainService() |
| Modifier and Type | Method and Description |
|---|---|
void |
addMain(String className,
String... args)
Registers a main class to be executed by
MainService.execMains(). |
int |
execMains()
Executes registered main classes, in the order they were registered.
|
MainService.Main[] |
getMains()
Gets the registered main classes to execute.
|
getContext, setContext, toStringgetInfo, getPriority, setInfo, setPrioritycontextclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitinitialize, registerEventHandlersgetIdentifier, logcontext, getContext, setContextcompareTo, getPriority, setPrioritygetInfo, setInfogetLocationgetVersiondisposepublic int execMains()
MainServiceexecMains in interface MainServicepublic void addMain(String className, String... args)
MainServiceMainService.execMains().addMain in interface MainServicepublic MainService.Main[] getMains()
MainServicegetMains in interface MainServiceCopyright © 2009–2018 SciJava. All rights reserved.