public class CompilePanelAutomationHelper extends PanelAutomationHelper implements PanelAutomation, CompileHandler
| Modifier and Type | Field and Description |
|---|---|
private int |
job_max |
private java.lang.String |
job_name |
private int |
last_line_len |
private CompileWorker |
worker |
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL| Constructor and Description |
|---|
CompilePanelAutomationHelper() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleCompileError(CompileResult error)
Reports the error to System.err
|
void |
makeXMLData(AutomatedInstallData installData,
XMLElement panelRoot)
Save data for running automated.
|
void |
nextStep(java.lang.String jobName,
int max,
int jobNo)
Reports progress to System.out
|
void |
progress(int val,
java.lang.String msg)
Tell about progress.
|
void |
runAutomated(AutomatedInstallData idata,
XMLElement panelRoot)
Perform the installation actions.
|
void |
startAction(java.lang.String name,
int noOfJobs)
Reports progress on System.out
|
void |
stopAction()
Sets state variable for thread sync.
|
askQuestion, askQuestion, emitError, emitNotification, emitWarningclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaskQuestion, askQuestion, emitError, emitNotification, emitWarningprivate CompileWorker worker
private int job_max
private java.lang.String job_name
private int last_line_len
public void makeXMLData(AutomatedInstallData installData, XMLElement panelRoot)
makeXMLData in interface PanelAutomationinstallData - installation parameterspanelRoot - unused.public void runAutomated(AutomatedInstallData idata, XMLElement panelRoot)
runAutomated in interface PanelAutomationpanelRoot - The panel XML tree root.idata - The installation datapublic void startAction(java.lang.String name,
int noOfJobs)
startAction in interface AbstractUIProgressHandlername - The name of the action.noOfJobs - The number of steps the action consists of.AbstractUIProgressHandler.startAction(String, int)public void handleCompileError(CompileResult error)
handleCompileError in interface CompileHandlererror - the errorCompileHandler.handleCompileError(CompileResult)public void stopAction()
stopAction in interface AbstractUIProgressHandlerAbstractUIProgressHandler.stopAction()public void progress(int val,
java.lang.String msg)
progress in interface AbstractUIProgressHandlerval - msg - AbstractUIProgressHandler.progress(int, String)public void nextStep(java.lang.String jobName,
int max,
int jobNo)
nextStep in interface AbstractUIProgressHandlerjobName - The next job's name.max - unusedjobNo - The next job's number.AbstractUIProgressHandler.nextStep(String, int, int)