Class AbstractLaunchStep
java.lang.Object
com.inductiveautomation.ignition.client.launch.steps.AbstractLaunchStep
- All Implemented Interfaces:
- LaunchStep
- Direct Known Subclasses:
- BaseStep
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface com.inductiveautomation.ignition.client.launch.LaunchStepLaunchStep.StepState
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidvoidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener) protected voidfirePropertyChange(String propertyName, Object oldValue, Object newValue) When active, this message describes what the step is currently doingintThe current progress (when running), from 0 to 100getState()The current state of this stepprotected abstract StringAbstraction to accommodate different methods of looking up bundle stringsbooleanIf this step can currently not calculate its progress, it is considered indeterminateabstract voidAbstraction to accommodate different logging methodsprotected static HttpURLConnectionnewConnection(String url) protected static HttpURLConnectionnewConnection(String url, int readTimeout) voidvoidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener) static <T> TrunLockedAction(LaunchContext context, AbstractLaunchStep step, AbstractLaunchStep.LockedAction<T> action) Runs an action only after obtaining the file lock on resources.lckvoidsetIndeterminate(boolean indeterminate) voidsetMessage(String message) Sets the message to this literal stringvoidsetMessagef(String bundleKey, Object... formatArgs) Sets the message after passing the key through the bundle, and the result through String.format()voidsetProgress(int progress) voidsetState(LaunchStep.StepState state) Sets the state of the stepMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.inductiveautomation.ignition.client.launch.LaunchStepgetDescription, run
- 
Field Details- 
changeSupport
 
- 
- 
Constructor Details- 
AbstractLaunchSteppublic AbstractLaunchStep()
 
- 
- 
Method Details- 
newConnectionprotected static HttpURLConnection newConnection(String url) throws IOException, MalformedURLException, ProtocolException 
- 
newConnectionprotected static HttpURLConnection newConnection(String url, int readTimeout) throws IOException, MalformedURLException, ProtocolException 
- 
getStringAbstraction to accommodate different methods of looking up bundle strings
- 
logAbstraction to accommodate different logging methods- Specified by:
- login interface- LaunchStep
 
- 
getMessageDescription copied from interface:LaunchStepWhen active, this message describes what the step is currently doing- Specified by:
- getMessagein interface- LaunchStep
 
- 
getProgresspublic int getProgress()Description copied from interface:LaunchStepThe current progress (when running), from 0 to 100- Specified by:
- getProgressin interface- LaunchStep
 
- 
getStateDescription copied from interface:LaunchStepThe current state of this step- Specified by:
- getStatein interface- LaunchStep
 
- 
isIndeterminatepublic boolean isIndeterminate()Description copied from interface:LaunchStepIf this step can currently not calculate its progress, it is considered indeterminate- Specified by:
- isIndeterminatein interface- LaunchStep
 
- 
runLockedActionpublic static <T> T runLockedAction(LaunchContext context, AbstractLaunchStep step, AbstractLaunchStep.LockedAction<T> action) throws Exception Runs an action only after obtaining the file lock on resources.lck- Throws:
- Exception
 
- 
setMessagefSets the message after passing the key through the bundle, and the result through String.format()- Specified by:
- setMessagefin interface- LaunchStep
 
- 
setMessageSets the message to this literal string- Specified by:
- setMessagein interface- LaunchStep
 
- 
setProgresspublic void setProgress(int progress) - Specified by:
- setProgressin interface- LaunchStep
 
- 
setStateDescription copied from interface:LaunchStepSets the state of the step- Specified by:
- setStatein interface- LaunchStep
 
- 
setIndeterminatepublic void setIndeterminate(boolean indeterminate) - Specified by:
- setIndeterminatein interface- LaunchStep
 
- 
firePropertyChange
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- LaunchStep
 
- 
addPropertyChangeListener- Specified by:
- addPropertyChangeListenerin interface- LaunchStep
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- LaunchStep
 
- 
removePropertyChangeListener- Specified by:
- removePropertyChangeListenerin interface- LaunchStep
 
 
-