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, setState
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
run
protected LaunchContextImpl context
protected BaseStep(LaunchContextImpl context)
protected <T> T runLockedAction(AbstractLaunchStep.LockedAction<T> action) throws java.lang.Exception
java.lang.Exception
public java.lang.String getDescription()
LaunchStep
protected java.lang.String getString(java.lang.String key)
AbstractLaunchStep
getString
in class AbstractLaunchStep
protected void log(java.lang.String message, java.lang.Object... args)
AbstractLaunchStep
log
in class AbstractLaunchStep
public abstract java.lang.String getDescriptionKey()
protected void waitFor(int secs) throws java.lang.Exception
java.lang.Exception
protected void maybeWaitFor503(java.lang.Exception ex) throws java.lang.Exception
java.lang.Exception