Class CacheStep
- java.lang.Object
-
- com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
-
- com.inductiveautomation.ignition.client.launch.steps.BaseStep
-
- com.inductiveautomation.ignition.client.launch.steps.CacheStep
-
- All Implemented Interfaces:
LaunchStep
public class CacheStep extends BaseStep
Second Step.- Calculates the gateway specific cache directory based on the LaunchContext.getGatewayAddresss() that was set during the ConnectStep, sets this as LaunchContext.setGwCachedir()
- Calculates the diff between the downloaded LaunchManifest and what is present in the GwCacheDir, records this in Context.setDownloadRequiredManifest()
-
-
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
-
Fields inherited from class com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
changeSupport
-
-
Constructor Summary
Constructors Constructor Description CacheStep(LaunchContextImpl context)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static java.lang.Integer
getCacheId()
java.lang.String
getDescriptionKey()
static void
releaseCacheId()
void
run()
-
Methods inherited from class com.inductiveautomation.ignition.client.launch.steps.BaseStep
getDescription, getString, log, maybeWaitFor503, runLockedAction, waitFor
-
Methods 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
-
-
-
-
Constructor Detail
-
CacheStep
public CacheStep(LaunchContextImpl context)
-
-
Method Detail
-
getDescriptionKey
public java.lang.String getDescriptionKey()
- Specified by:
getDescriptionKey
in classBaseStep
-
run
public void run() throws java.lang.Exception
- Throws:
java.lang.Exception
-
getCacheId
public static java.lang.Integer getCacheId()
-
releaseCacheId
public static void releaseCacheId()
-
-