Enum Class Step

java.lang.Object
java.lang.Enum<Step>
fr.flowarg.flowupdater.download.Step
All Implemented Interfaces:
Serializable, Comparable<Step>, Constable

public enum Step extends Enum<Step>
Represent each step of a Minecraft Installation
  • Enum Constant Details

    • INTEGRATION

      public static final Step INTEGRATION
      Integration loading
    • MOD_PACK

      public static final Step MOD_PACK
      ModPack preparation
    • READ

      public static final Step READ
      JSON reading
    • DL_LIBS

      public static final Step DL_LIBS
      Download libraries
    • DL_ASSETS

      public static final Step DL_ASSETS
      Download assets
    • EXTRACT_NATIVES

      public static final Step EXTRACT_NATIVES
      Extract natives
    • MOD_LOADER

      public static final Step MOD_LOADER
      Install a mod loader version. Skipped if FlowUpdater.getModLoaderVersion() is null.
    • MODS

      public static final Step MODS
      Download mods. Skipped if FlowUpdater.getModLoaderVersion() is null.
    • EXTERNAL_FILES

      public static final Step EXTERNAL_FILES
      Download other files.
    • POST_EXECUTIONS

      public static final Step POST_EXECUTIONS
      Runs a list of runnable at the end of update.
    • END

      public static final Step END
      All tasks are finished
  • Method Details

    • values

      public static Step[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static Step valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null