Enum DependencyHandling
- All Implemented Interfaces:
Serializable,Comparable<DependencyHandling>
Defines how package dependencies influence package installation and un-installation.
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDependency checks are performed but not enforced.No dependency checks are enforcedDependency checks are performed but not enforced.Full dependency checks are enforced. -
Method Summary
Modifier and TypeMethodDescriptionstatic DependencyHandlingReturns the enum constant of this type with the specified name.static DependencyHandling[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
IGNORE
No dependency checks are enforced -
BEST_EFFORT
Dependency checks are performed but not enforced. If a dependency is present but not installed, it will be installed prior to installing the referencing issue. However the installation will proceed, even if the dependency is missing. Un-installation will automatically uninstall referencing packages. -
REQUIRED
Dependency checks are performed but not enforced. If a dependency is present but not installed, it will be installed prior to installing the referencing issue. If a dependency is not present, installation fails. Un-installation will automatically uninstall referencing packages. -
STRICT
Full dependency checks are enforced. Packages with missing or uninstalled dependencies are not installed and packages that are dependencies of other packages cannot be un-installed.
-
-
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
-