Class BaseStep
java.lang.Object
com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
com.inductiveautomation.ignition.client.launch.steps.BaseStep
- All Implemented Interfaces:
LaunchStep
- Direct Known Subclasses:
CacheStep,CheckJpmsRequirementsStep,CheckManifestStep,ConnectStep,DownloadJarsStep,DownloadPyLibStep,DownloadRuntimeStep,DownloadTranslationsStep,StartupStep,TestStep
-
Nested Class Summary
Nested classes/interfaces inherited from class com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
AbstractLaunchStep.LockedAction<T>Nested classes/interfaces inherited from interface com.inductiveautomation.ignition.client.launch.LaunchStep
LaunchStep.StepState -
Field Summary
FieldsFields inherited from class com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
changeSupport -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDescribe this step's purposeabstract Stringprotected StringAbstraction to accommodate different methods of looking up bundle stringsvoidAbstraction to accommodate different logging methodsprotected voidChecks to see if the exception happens to be an HttpResponseException with responseCode==503.protected voidTriggers a restart of the client.protected <T> TrunLockedAction(AbstractLaunchStep.LockedAction<T> action) protected voidwaitFor(int secs) Waits for a number of seconds, updating the progress bar appropriatelyMethods inherited from class com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getMessage, getProgress, getState, isIndeterminate, newConnection, newConnection, removePropertyChangeListener, removePropertyChangeListener, runLockedAction, setIndeterminate, setMessage, setMessagef, setProgress, setStateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.client.launch.LaunchStep
run
-
Field Details
-
context
-
-
Constructor Details
-
BaseStep
-
-
Method Details
-
runLockedAction
- Throws:
Exception
-
getDescription
Description copied from interface:LaunchStepDescribe this step's purpose -
getString
Description copied from class:AbstractLaunchStepAbstraction to accommodate different methods of looking up bundle strings- Specified by:
getStringin classAbstractLaunchStep
-
log
Description copied from class:AbstractLaunchStepAbstraction to accommodate different logging methods- Specified by:
login interfaceLaunchStep- Specified by:
login classAbstractLaunchStep
-
getDescriptionKey
-
waitFor
Waits for a number of seconds, updating the progress bar appropriately- Throws:
Exception
-
maybeWaitFor503
Checks to see if the exception happens to be an HttpResponseException with responseCode==503. If so, waits for 10 seconds while setting the message to the "ServiceUnavailable" message.- Throws:
Exception
-
restartClient
Triggers a restart of the client. This should only be done in situations when the existing client cannot have whatever change applied and a new JVM must be created in order to apply whatever requirement is needed.- Throws:
LaunchException
-