|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.izforge.izpack.installer.automation.PanelAutomationHelper
com.izforge.izpack.panels.compile.CompilePanelAutomationHelper
public class CompilePanelAutomationHelper
Functions to support automated usage of the CompilePanel
| Field Summary |
|---|
| Fields inherited from interface com.izforge.izpack.api.handler.AbstractUIHandler |
|---|
ANSWER_CANCEL, ANSWER_NO, ANSWER_YES, CHOICES_YES_NO |
| Constructor Summary | |
|---|---|
CompilePanelAutomationHelper(VariableSubstitutor variableSubstitutor,
Resources resources,
PlatformModelMatcher matcher)
Constructs a CompilePanelAutomationHelper. |
|
| Method Summary | |
|---|---|
void |
createInstallationRecord(InstallData installData,
IXMLElement rootElement)
|
void |
handleCompileError(CompileResult error)
Reports the error to System.err |
void |
makeXMLData(InstallData installData,
IXMLElement panelRoot)
Save installDataGUI for running automated. |
void |
nextStep(String jobName,
int max,
int jobNo)
Reports progress to System.out |
void |
processOptions(InstallData installData,
Overrides overrides)
|
void |
progress(int val,
String msg)
Tell about progress. |
void |
progress(String message)
Invoked to notify progress. |
void |
restartAction(String name,
String overallMessage,
String tip,
int steps)
Invoked when an action restarts. |
void |
runAutomated(InstallData idata,
IXMLElement panelRoot)
|
void |
setSubStepNo(int no_of_substeps)
|
void |
startAction(String name,
int noOfJobs)
Reports progress on System.out |
void |
stopAction()
Sets state variable for thread sync. |
| Methods inherited from class com.izforge.izpack.installer.automation.PanelAutomationHelper |
|---|
askQuestion, askQuestion, askWarningQuestion, emitError, emitNotification, emitWarning |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.izforge.izpack.api.handler.AbstractUIHandler |
|---|
askQuestion, askQuestion, askWarningQuestion, emitError, emitNotification, emitWarning |
| Constructor Detail |
|---|
public CompilePanelAutomationHelper(VariableSubstitutor variableSubstitutor,
Resources resources,
PlatformModelMatcher matcher)
variableSubstitutor - the variable substituterresources - the resourcesmatcher - the platform-model matcher| Method Detail |
|---|
public void makeXMLData(InstallData installData,
IXMLElement panelRoot)
installData - installation parameterspanelRoot - unused.
public void runAutomated(InstallData idata,
IXMLElement panelRoot)
throws InstallerException
runAutomated in interface PanelAutomationInstallerException
public void processOptions(InstallData installData,
Overrides overrides)
processOptions in interface PanelAutomation
public void startAction(String name,
int noOfJobs)
startAction in interface ProgressListenerpublic void handleCompileError(CompileResult error)
handleCompileError in interface CompileHandlererror - the errorCompileHandler.handleCompileError(CompileResult)public void stopAction()
stopAction in interface ProgressListener
public void progress(int val,
String msg)
progress in interface ProgressListenerval - msg -
public void nextStep(String jobName,
int max,
int jobNo)
nextStep in interface ProgressListenerjobName - The next job's name.max - unusedjobNo - The next job's number.public void setSubStepNo(int no_of_substeps)
setSubStepNo in interface ProgressListenerpublic void progress(String message)
progress in interface ProgressListenermessage - a message describing the step
public void restartAction(String name,
String overallMessage,
String tip,
int steps)
restartAction in interface ProgressListenername - the name of the actionoverallMessage - a message describing the overall progresstip - a tip describing the current progresssteps - the number of steps the action consists of
public void createInstallationRecord(InstallData installData,
IXMLElement rootElement)
createInstallationRecord in interface PanelAutomation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||