public class InstallPanelAutomationHelper extends PanelAutomationHelper implements PanelAutomation, AbstractUIProgressHandler
Modifier and Type | Field and Description |
---|---|
private boolean |
done |
private int |
noOfPacks |
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO, CHOICES_YES_NO_CANCEL
Constructor and Description |
---|
InstallPanelAutomationHelper() |
Modifier and Type | Method and Description |
---|---|
void |
makeXMLData(AutomatedInstallData installData,
net.n3.nanoxml.XMLElement panelRoot)
Null op - this panel type has no state to serialize.
|
void |
nextStep(String packName,
int stepno,
int stepsize)
Reports progress to System.out
|
void |
progress(int val,
String msg)
Null op.
|
void |
runAutomated(AutomatedInstallData idata,
net.n3.nanoxml.XMLElement panelRoot)
Perform the installation actions.
|
void |
startAction(String name,
int no_of_steps)
Reports progress on System.out
|
void |
stopAction()
Sets state variable for thread sync.
|
askQuestion, askQuestion, emitError, emitNotification, emitWarning
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
askQuestion, askQuestion, emitError, emitNotification, emitWarning
public InstallPanelAutomationHelper()
public void makeXMLData(AutomatedInstallData installData, net.n3.nanoxml.XMLElement panelRoot)
makeXMLData
in interface PanelAutomation
installData
- unused.panelRoot
- 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 startAction(String name, int no_of_steps)
startAction
in interface AbstractUIProgressHandler
name
- The name of the action.no_of_steps
- The number of steps the action consists of.AbstractUIProgressHandler.startAction(String, int)
public void stopAction()
stopAction
in interface AbstractUIProgressHandler
AbstractUIProgressHandler.stopAction()
public void progress(int val, String msg)
progress
in interface AbstractUIProgressHandler
val
- msg
- AbstractUIProgressHandler.progress(int, String)
public void nextStep(String packName, int stepno, int stepsize)
nextStep
in interface AbstractUIProgressHandler
packName
- The currently installing pack.stepno
- The number of the packstepsize
- unusedAbstractUIProgressHandler.nextStep(String, int, int)
WebARTS Library Licensed Under the GNU - General Public License. Other Libraries licensed under their respective Open Source Licenses