Interface LaunchStep
- All Known Implementing Classes:
AbstractLaunchStep,BaseStep,CacheStep,CheckJpmsRequirementsStep,CheckManifestStep,ConnectStep,DownloadJarsStep,DownloadPyLibStep,DownloadRuntimeStep,DownloadTranslationsStep,StartupStep,TestStep
public interface LaunchStep
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidaddPropertyChangeListener(String propertyName, PropertyChangeListener listener) Describe this step's purposeWhen active, this message describes what the step is currently doingintThe current progress (when running), from 0 to 100getState()The current state of this stepbooleanIf this step can currently not calculate its progress, it is considered indeterminatevoidvoidvoidremovePropertyChangeListener(String propertyName, PropertyChangeListener listener) voidrun()voidsetIndeterminate(boolean indeterminate) voidsetMessage(String message) voidsetMessagef(String bundleKey, Object... formatArgs) voidsetProgress(int progress) voidsetState(LaunchStep.StepState state) Sets the state of the step
-
Method Details
-
addPropertyChangeListener
-
addPropertyChangeListener
-
removePropertyChangeListener
-
removePropertyChangeListener
-
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
-
setMessagef
-
log
-
getState
LaunchStep.StepState getState()The current state of this step -
setState
Sets the state of the step -
run
- Throws:
Exception
-