Class BaseStep

    • Method Detail

      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: LaunchStep
        Describe this step's purpose
      • getString

        protected java.lang.String getString​(java.lang.String key)
        Description copied from class: AbstractLaunchStep
        Abstraction to accommodate different methods of looking up bundle strings
        Specified by:
        getString in class AbstractLaunchStep
      • log

        public void log​(java.lang.String message,
                        java.lang.Object... args)
        Description copied from class: AbstractLaunchStep
        Abstraction to accommodate different logging methods
        Specified by:
        log in interface LaunchStep
        Specified by:
        log in class AbstractLaunchStep
      • getDescriptionKey

        public abstract java.lang.String getDescriptionKey()
      • waitFor

        protected void waitFor​(int secs)
                        throws java.lang.Exception
        Waits for a number of seconds, updating the progress bar appropriately
        Throws:
        java.lang.Exception
      • maybeWaitFor503

        protected void maybeWaitFor503​(java.lang.Exception ex)
                                throws java.lang.Exception
        Checks to see if the exception happens to be an HttpResponseException with responseCode==503. If so, waits for 10 seconds while setting the message to the "ServiceUnavailable" message.
        Throws:
        java.lang.Exception