Enum Class PluginInstallUtils.Presence

java.lang.Object
java.lang.Enum<PluginInstallUtils.Presence>
com.ultikits.ultitools.utils.PluginInstallUtils.Presence
All Implemented Interfaces:
Serializable, Comparable<PluginInstallUtils.Presence>, java.lang.constant.Constable
Enclosing class:
PluginInstallUtils

private static enum PluginInstallUtils.Presence extends Enum<PluginInstallUtils.Presence>
What a filesystem probe answered, keeping "unknown" out of "no".

File's predicates return false both when the answer is no and when the answer could not be obtained -- an ancestor that cannot be searched, a policy that refuses. Every yes/no question this uninstall asks the filesystem goes through PluginInstallUtils.probe(File) so the two cannot be confused; the sweep table in the pull request lists them.

  • Enum Constant Details

  • Constructor Details

    • Presence

      private Presence()
  • Method Details

    • values

      public static PluginInstallUtils.Presence[] 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 PluginInstallUtils.Presence 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