Interface LaunchStep

All Known Implementing Classes:
AbstractLaunchStep, BaseStep, CacheStep, CheckJpmsRequirementsStep, CheckManifestStep, ConnectStep, DownloadJarsStep, DownloadPyLibStep, DownloadRuntimeStep, DownloadTranslationsStep, StartupStep, TestStep

public interface LaunchStep
  • Method Details

    • addPropertyChangeListener

      void addPropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • addPropertyChangeListener

      void addPropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      void removePropertyChangeListener(PropertyChangeListener listener)
    • removePropertyChangeListener

      void removePropertyChangeListener(String propertyName, PropertyChangeListener listener)
    • getDescription

      String getDescription()
      Describe this step's purpose
    • getMessage

      String getMessage()
      When active, this message describes what the step is currently doing
    • isIndeterminate

      boolean isIndeterminate()
      If this step can currently not calculate its progress, it is considered indeterminate
    • getProgress

      int getProgress()
      The current progress (when running), from 0 to 100
    • setIndeterminate

      void setIndeterminate(boolean indeterminate)
    • setProgress

      void setProgress(int progress)
    • setMessage

      void setMessage(String message)
    • setMessagef

      void setMessagef(String bundleKey, Object... formatArgs)
    • log

      void log(String message, Object... args)
    • getState

      The current state of this step
    • setState

      void setState(LaunchStep.StepState state)
      Sets the state of the step
    • run

      void run() throws Exception
      Throws:
      Exception