com.izforge.izpack.installer
Class ProcessPanelWorker
java.lang.Object
com.izforge.izpack.installer.ProcessPanelWorker
- All Implemented Interfaces:
- java.lang.Runnable
- public class ProcessPanelWorker
- extends java.lang.Object
- implements java.lang.Runnable
This class does alle the work for the process panel.
It responsible for
- parsing the process spec XML file
- performing the actions described therein
- Author:
- Tino Schwarze
Method Summary |
private boolean |
readSpec()
|
void |
run()
This is called when the processing thread is activated. |
void |
startThread()
Start the compilation in a separate thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPEC_RESOURCE_NAME
private static final java.lang.String SPEC_RESOURCE_NAME
- Name of resource for specifying processing parameters.
- See Also:
- Constant Field Values
vs
private VariableSubstitutor vs
spec
private XMLElement spec
idata
private AutomatedInstallData idata
handler
protected AbstractUIProcessHandler handler
jobs
private java.util.ArrayList jobs
processingThread
private java.lang.Thread processingThread
ProcessPanelWorker
public ProcessPanelWorker(AutomatedInstallData idata,
AbstractUIProcessHandler handler)
throws java.io.IOException
- The constructor.
- Parameters:
idata
- The installation data.handler
- The handler to notify of progress.
readSpec
private boolean readSpec()
run
public void run()
- This is called when the processing thread is activated.
Can also be called directly if asynchronous processing is not
desired.
- Specified by:
run
in interface java.lang.Runnable
startThread
public void startThread()
- Start the compilation in a separate thread.