Enum DependencyHandling

    • Enum Constant Detail

      • BEST_EFFORT

        public static final DependencyHandling 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

        public static final DependencyHandling 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

        public static final DependencyHandling 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 Detail

      • values

        public static DependencyHandling[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (DependencyHandling c : DependencyHandling.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static DependencyHandling 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