org.fuin.kickstart4j
Class ApplicationStarter
java.lang.Object
org.fuin.kickstart4j.ApplicationStarter
public final class ApplicationStarter
- extends Object
Helper class that starts the target application.
|
Method Summary |
void |
execute()
Execute the target application. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ApplicationStarter
public ApplicationStarter(File destDir,
org.apache.commons.exec.CommandLine commandLine,
JFrame startFrame,
Kickstart4JListener listener,
Config config)
- Constructor with all necessary data.
- Parameters:
destDir - Target directory - Cannot be null.commandLine - Command line - Cannot be null.startFrame - Frame displaying the "Starting application..." message - May
be null.listener - Listener to be informed about startup completion - Cannot be
nullconfig - Current configuration - Cannot be null.
execute
public void execute()
- Execute the target application.
Copyright © 2011 Future Invent Informationsmanagement GmbH. All Rights Reserved.