Enum Class LinkHandler.LinkStatus

java.lang.Object
java.lang.Enum<LinkHandler.LinkStatus>
ghidra.framework.data.LinkHandler.LinkStatus
All Implemented Interfaces:
Serializable, Comparable<LinkHandler.LinkStatus>, Constable
Enclosing class:
LinkHandler<T extends DomainObjectAdapterDB>

public static enum LinkHandler.LinkStatus extends Enum<LinkHandler.LinkStatus>
LinkHandler.LinkStatus provides a link evaluation for its ulimate type or if it is considered broken. See LinkHandler.getLinkFileStatus(DomainFile, Consumer).
  • Enum Constant Details

    • BROKEN

      public static final LinkHandler.LinkStatus BROKEN
      The link-file specified does not refer to a valid file or content-type.
    • INTERNAL

      public static final LinkHandler.LinkStatus INTERNAL
      The link-file ultimately refers to a file or folder path within the same project.
    • EXTERNAL

      public static final LinkHandler.LinkStatus EXTERNAL
      The link-file ultimately refers to an external project/repository path with a Ghidra URL.
  • Method Details

    • values

      public static LinkHandler.LinkStatus[] 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 LinkHandler.LinkStatus 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