public class ProcessPanelWorker extends Object implements 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 ArrayList |
jobs |
private static PrintWriter |
logfile |
private String |
logfiledir |
private Thread |
processingThread |
private net.n3.nanoxml.XMLElement |
spec |
private static 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(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 String SPEC_RESOURCE_NAME
private VariableSubstitutor vs
private net.n3.nanoxml.XMLElement spec
protected AbstractUIProcessHandler handler
private Thread processingThread
private static PrintWriter logfile
private String logfiledir
protected AutomatedInstallData idata
public ProcessPanelWorker(AutomatedInstallData idata, AbstractUIProcessHandler handler) throws IOException
idata
- The installation data.handler
- The handler to notify of progress.IOException
private boolean readSpec() throws IOException
IOException
public void run()
public void startThread()
private boolean jobRequiredFor(Vector packs)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses