public abstract class BaseStep extends AbstractLaunchStep
AbstractLaunchStep.LockedAction<T>LaunchStep.StepState| Modifier and Type | Field and Description |
|---|---|
protected LaunchContextImpl |
context |
changeSupport| Modifier | Constructor and Description |
|---|---|
protected |
BaseStep(LaunchContextImpl context) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
Describe this step's purpose
|
abstract java.lang.String |
getDescriptionKey() |
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 LaunchContextImpl context
protected BaseStep(LaunchContextImpl context)
protected <T> T runLockedAction(AbstractLaunchStep.LockedAction<T> action) throws java.lang.Exception
java.lang.Exceptionpublic 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