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 String
protected String
Abstraction to accommodate different methods of looking up bundle stringsvoid
Abstraction to accommodate different logging methodsprotected void
Checks to see if the exception happens to be an HttpResponseException with responseCode==503.protected void
Triggers a restart of the client.protected <T> T
runLockedAction
(AbstractLaunchStep.LockedAction<T> action) protected void
waitFor
(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, setState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:LaunchStep
Describe this step's purpose -
getString
Description copied from class:AbstractLaunchStep
Abstraction to accommodate different methods of looking up bundle strings- Specified by:
getString
in classAbstractLaunchStep
-
log
Description copied from class:AbstractLaunchStep
Abstraction to accommodate different logging methods- Specified by:
log
in interfaceLaunchStep
- Specified by:
log
in 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
-