Package me.friwi.jcefmaven
Enum EnumProgress
- All Implemented Interfaces:
Serializable,Comparable<EnumProgress>,java.lang.constant.Constable
Enum representing all major steps in the setup process for JCef.
- Author:
- Fritz Windisch
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDownloading the native bundle from GitHub or central repository to the installation directory.Extract the downloaded/located native bundle to the installation directory.JCef initialization complete.Initialize JCef for the corresponding platform.Perform steps on the extracted files to make them fully functional.Installation is being located: -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final floatMagic value used to indicate that there is no progress estimation for the current installation step. -
Method Summary
Modifier and TypeMethodDescriptionstatic EnumProgressReturns the enum constant of this type with the specified name.static EnumProgress[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
Downloading the native bundle from GitHub or central repository to the installation directory. -
EXTRACTING
Extract the downloaded/located native bundle to the installation directory. -
INSTALL
Perform steps on the extracted files to make them fully functional. Mark installation as complete. -
INITIALIZING
Initialize JCef for the corresponding platform. -
INITIALIZED
JCef initialization complete.
-
-
Field Details
-
NO_ESTIMATION
public static final float NO_ESTIMATIONMagic value used to indicate that there is no progress estimation for the current installation step.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-