public abstract class BaseStep extends AbstractLaunchStep
AbstractLaunchStep.LockedAction<T>LaunchStep.StepState| Modifier and Type | Field and Description |
|---|---|
protected LaunchContextImpl |
context |
protected java.awt.image.BufferedImage |
icon |
changeSupport| Modifier | Constructor and Description |
|---|---|
protected |
BaseStep(LaunchContextImpl context,
java.lang.String iconName) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Describe this step's purpose
|
abstract java.lang.String |
getDescriptionKey() |
java.awt.Image |
getIcon()
A 24x24 icon that represents this step
|
protected java.lang.String |
getString(java.lang.String key)
Abstraction to accommodate different methods of looking up bundle strings
|
protected void |
log(java.lang.String message,
java.lang.Object... args)
Abstraction to accommodate different logging methods
|
protected void |
maybeWaitFor503(java.lang.Exception ex)
Checks to see if the exception happens to be an HttpResponseException with responseCode==503.
|
protected <T> T |
runLockedAction(AbstractLaunchStep.LockedAction<T> action) |
protected void |
waitFor(int secs)
Waits for a number of seconds, updating the progress bar appropriately
|
addPropertyChangeListener, addPropertyChangeListener, firePropertyChange, getMessage, getProgress, getState, isIndeterminate, newConnection, newConnection, removePropertyChangeListener, removePropertyChangeListener, runLockedAction, setIndeterminate, setMessage, setMessagef, setProgress, setStateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitrunprotected java.awt.image.BufferedImage icon
protected LaunchContextImpl context
protected BaseStep(LaunchContextImpl context, java.lang.String iconName)
protected <T> T runLockedAction(AbstractLaunchStep.LockedAction<T> action) throws java.lang.Exception
java.lang.Exceptionpublic java.awt.Image getIcon()
LaunchSteppublic java.lang.String getDescription()
LaunchStepprotected java.lang.String getString(java.lang.String key)
AbstractLaunchStepgetString in class AbstractLaunchStepprotected void log(java.lang.String message,
java.lang.Object... args)
AbstractLaunchSteplog in class AbstractLaunchSteppublic abstract java.lang.String getDescriptionKey()
protected void waitFor(int secs)
throws java.lang.Exception
java.lang.Exceptionprotected void maybeWaitFor503(java.lang.Exception ex)
throws java.lang.Exception
java.lang.Exception