Enum Class OrphanEntry.Disposition

java.lang.Object
java.lang.Enum<OrphanEntry.Disposition>
network.ike.plugin.scaffold.OrphanEntry.Disposition
All Implemented Interfaces:
Serializable, Comparable<OrphanEntry.Disposition>, Constable
Enclosing class:
OrphanEntry

public static enum OrphanEntry.Disposition extends Enum<OrphanEntry.Disposition>
What scaffold-publish will do with an orphan.
  • Enum Constant Details

    • REMOVE

      public static final OrphanEntry.Disposition REMOVE
      On-disk content still matches the lockfile hash — publish deletes the file and drops the lockfile entry.
    • SKIP_USER_EDITED

      public static final OrphanEntry.Disposition SKIP_USER_EDITED
      File diverged from the lockfile hash, or its tier is shared (tracked-block) or user-owned (model-managed). Publish leaves the file untouched and keeps the lockfile entry so the orphan keeps surfacing until resolved.
    • ALREADY_ABSENT

      public static final OrphanEntry.Disposition ALREADY_ABSENT
      File is already gone — publish just drops the stale lockfile entry.
  • Method Details

    • values

      public static OrphanEntry.Disposition[] 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 OrphanEntry.Disposition 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