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 AbstractLaunchStep
AbstractLaunchStep.LockedAction<T>Nested classes/interfaces inherited from interface LaunchStep
LaunchStep.StepState -
Field Summary
FieldsFields inherited from class 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 AbstractLaunchStep
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getMessage, getProgress, getState, isIndeterminate, newConnection, newConnection, removePropertyChangeListener, removePropertyChangeListener, runLockedAction, setIndeterminate, setMessage, setMessagef, setProgress, setStateMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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
-
maybeWaitFor503
-
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
-