Enum EnumProgress

java.lang.Object
java.lang.Enum<EnumProgress>
me.friwi.jcefmaven.EnumProgress
All Implemented Interfaces:
Serializable, Comparable<EnumProgress>, java.lang.constant.Constable

public enum EnumProgress extends Enum<EnumProgress>
Enum representing all major steps in the setup process for JCef.
Author:
Fritz Windisch
  • Enum Constant Details

    • LOCATING

      public static final EnumProgress LOCATING

      Installation is being located:

      - is there already an installation present?

      - if not: is the native bundle on classpath?

      If the installation is present, skip to INITIALIZING.

      If the native bundle is present, skip to EXTRACTING.

      Else go to DOWNLOADING.

    • DOWNLOADING

      public static final EnumProgress DOWNLOADING
      Downloading the native bundle from GitHub or central repository to the installation directory.
    • EXTRACTING

      public static final EnumProgress EXTRACTING
      Extract the downloaded/located native bundle to the installation directory.
    • INSTALL

      public static final EnumProgress INSTALL
      Perform steps on the extracted files to make them fully functional. Mark installation as complete.
    • INITIALIZING

      public static final EnumProgress INITIALIZING
      Initialize JCef for the corresponding platform.
    • INITIALIZED

      public static final EnumProgress INITIALIZED
      JCef initialization complete.
  • Field Details

    • NO_ESTIMATION

      public static final float NO_ESTIMATION
      Magic value used to indicate that there is no progress estimation for the current installation step.
      See Also:
  • Method Details

    • values

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

      public static EnumProgress valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null