org.fuin.kickstart4j
Class ApplicationStarter

java.lang.Object
  extended by org.fuin.kickstart4j.ApplicationStarter

public final class ApplicationStarter
extends java.lang.Object

Helper class that starts the target application.


Constructor Summary
ApplicationStarter(java.io.File destDir, org.apache.commons.exec.CommandLine commandLine, javax.swing.JFrame startFrame, Kickstart4JListener listener, Config config)
          Constructor with all necessary data.
 
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
 

Constructor Detail

ApplicationStarter

public ApplicationStarter(java.io.File destDir,
                          org.apache.commons.exec.CommandLine commandLine,
                          javax.swing.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 null
config - Current configuration - Cannot be null.
Method Detail

execute

public void execute()
Execute the target application.



Copyright © 2010 Future Invent Informationsmanagement GmbH. All Rights Reserved.