Interface LaunchStep
- 
- All Known Implementing Classes:
 AbstractLaunchStep,BaseStep,CacheStep,CheckManifestStep,ConnectStep,DownloadJarsStep,DownloadPyLibStep,DownloadRuntimeStep,DownloadTranslationsStep,StartupStep,TestStep
public interface LaunchStep 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classLaunchStep.StepState 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddPropertyChangeListener(java.beans.PropertyChangeListener listener)voidaddPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)java.lang.StringgetDescription()Describe this step's purposejava.lang.StringgetMessage()When active, this message describes what the step is currently doingintgetProgress()The current progress (when running), from 0 to 100LaunchStep.StepStategetState()The current state of this stepbooleanisIndeterminate()If this step can currently not calculate its progress, it is considered indeterminatevoidlog(java.lang.String message, java.lang.Object... args)voidremovePropertyChangeListener(java.beans.PropertyChangeListener listener)voidremovePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener)voidrun()voidsetIndeterminate(boolean indeterminate)voidsetMessage(java.lang.String message)voidsetMessagef(java.lang.String bundleKey, java.lang.Object... formatArgs)voidsetProgress(int progress)voidsetState(LaunchStep.StepState state)Sets the state of the step 
 - 
 
- 
- 
Method Detail
- 
addPropertyChangeListener
void addPropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener) 
- 
addPropertyChangeListener
void addPropertyChangeListener(java.beans.PropertyChangeListener listener)
 
- 
removePropertyChangeListener
void removePropertyChangeListener(java.beans.PropertyChangeListener listener)
 
- 
removePropertyChangeListener
void removePropertyChangeListener(java.lang.String propertyName, java.beans.PropertyChangeListener listener) 
- 
getDescription
java.lang.String getDescription()
Describe this step's purpose 
- 
getMessage
java.lang.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(java.lang.String message)
 
- 
setMessagef
void setMessagef(java.lang.String bundleKey, java.lang.Object... formatArgs) 
- 
log
void log(java.lang.String message, java.lang.Object... args) 
- 
getState
LaunchStep.StepState getState()
The current state of this step 
- 
setState
void setState(LaunchStep.StepState state)
Sets the state of the step 
- 
run
void run() throws java.lang.Exception
- Throws:
 java.lang.Exception
 
 - 
 
 -