public class ProcessPanelWorker
extends java.lang.Object
implements java.lang.Runnable
Modifier and Type | Class and Description |
---|---|
private static class |
ProcessPanelWorker.ExecutableClass
Tries to create a class that has an empty contstructor and a method
run(AbstractUIProcessHandler, String[]) If found, it calls the method and processes all
returned exceptions
|
private static class |
ProcessPanelWorker.ExecutableFile |
(package private) static interface |
ProcessPanelWorker.Processable |
private static class |
ProcessPanelWorker.ProcessingJob |
Modifier and Type | Field and Description |
---|---|
protected AbstractUIProcessHandler |
handler |
protected AutomatedInstallData |
idata |
private java.util.ArrayList |
jobs |
private static java.io.PrintWriter |
logfile |
private java.lang.String |
logfiledir |
private java.lang.Thread |
processingThread |
private XMLElement |
spec |
private static java.lang.String |
SPEC_RESOURCE_NAME
Name of resource for specifying processing parameters.
|
private VariableSubstitutor |
vs |
Constructor and Description |
---|
ProcessPanelWorker(AutomatedInstallData idata,
AbstractUIProcessHandler handler)
The constructor.
|
Modifier and Type | Method and Description |
---|---|
private boolean |
jobRequiredFor(java.util.Vector packs) |
private boolean |
readSpec() |
void |
run()
This is called when the processing thread is activated.
|
void |
startThread()
Start the compilation in a separate thread.
|
private static final java.lang.String SPEC_RESOURCE_NAME
private VariableSubstitutor vs
private XMLElement spec
protected AbstractUIProcessHandler handler
private java.util.ArrayList jobs
private java.lang.Thread processingThread
private static java.io.PrintWriter logfile
private java.lang.String logfiledir
protected AutomatedInstallData idata
public ProcessPanelWorker(AutomatedInstallData idata, AbstractUIProcessHandler handler) throws java.io.IOException
idata
- The installation data.handler
- The handler to notify of progress.java.io.IOException
private boolean readSpec() throws java.io.IOException
java.io.IOException
public void run()
run
in interface java.lang.Runnable
public void startThread()
private boolean jobRequiredFor(java.util.Vector packs)