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 TypeMethodDescriptionvoid
void
addPropertyChangeListener
(String propertyName, PropertyChangeListener listener) Describe this step's purposeWhen active, this message describes what the step is currently doingint
The current progress (when running), from 0 to 100getState()
The current state of this stepboolean
If this step can currently not calculate its progress, it is considered indeterminatevoid
void
void
removePropertyChangeListener
(String propertyName, PropertyChangeListener listener) void
run()
void
setIndeterminate
(boolean indeterminate) void
setMessage
(String message) void
setMessagef
(String bundleKey, Object... formatArgs) void
setProgress
(int progress) void
setState
(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
-