public class ProcessPanelAutomationHelper extends PanelAutomationHelper implements PanelAutomation, AbstractUIProcessHandler
Modifier and Type | Field and Description |
---|---|
private int |
currentJob |
private int |
noOfJobs |
private ProcessPanelWorker |
worker |
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL
Constructor and Description |
---|
ProcessPanelAutomationHelper() |
Modifier and Type | Method and Description |
---|---|
void |
finishProcess() |
void |
finishProcessing() |
void |
logOutput(String message,
boolean stderr)
Log the given message.
|
void |
makeXMLData(AutomatedInstallData installData,
net.n3.nanoxml.XMLElement panelRoot)
Save data for running automated.
|
void |
runAutomated(AutomatedInstallData idata,
net.n3.nanoxml.XMLElement panelRoot)
Perform the installation actions.
|
void |
startProcess(String name)
Notify the user that a process has started.
|
void |
startProcessing(int noOfJobs)
Reports progress on System.out
|
askQuestion, askQuestion, emitError, emitNotification, emitWarning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
askQuestion, askQuestion, emitError, emitNotification, emitWarning
private ProcessPanelWorker worker
private int noOfJobs
private int currentJob
public ProcessPanelAutomationHelper()
public void makeXMLData(AutomatedInstallData installData, net.n3.nanoxml.XMLElement panelRoot)
makeXMLData
in interface PanelAutomation
installData
- installation parameterspanelRoot
- unused.public void runAutomated(AutomatedInstallData idata, net.n3.nanoxml.XMLElement panelRoot)
runAutomated
in interface PanelAutomation
panelRoot
- The panel XML tree root.idata
- The installation datapublic void logOutput(String message, boolean stderr)
AbstractUIProcessHandler
logOutput
in interface AbstractUIProcessHandler
stderr
- true if this is a message received from a program via stderrpublic void startProcessing(int noOfJobs)
startProcessing
in interface AbstractUIProcessHandler
AbstractUIProcessHandler.startProcessing(int)
public void finishProcessing()
finishProcessing
in interface AbstractUIProcessHandler
AbstractUIProcessHandler.finishProcessing()
public void startProcess(String name)
AbstractUIProcessHandler
startProcess
in interface AbstractUIProcessHandler
public void finishProcess()
finishProcess
in interface AbstractUIProcessHandler
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses