Enum Class VTAssociationStatus

java.lang.Object
java.lang.Enum<VTAssociationStatus>
ghidra.feature.vt.api.main.VTAssociationStatus
All Implemented Interfaces:
Serializable, Comparable<VTAssociationStatus>, Constable

public enum VTAssociationStatus extends Enum<VTAssociationStatus>
  • Enum Constant Details

    • AVAILABLE

      public static final VTAssociationStatus AVAILABLE
      An association with this status is available for accepting (applying). Also, no competing associations are currently ACCEPTED.
    • ACCEPTED

      public static final VTAssociationStatus ACCEPTED
      An association with this status means no other competing associations can add markup items. Any competing associations cannot have markup items applied while one of them has this status. In this status, not all markup items have been applied, as the status would then be
      invalid reference
      #FULLY_APPLIED
      .
    • BLOCKED

      public static final VTAssociationStatus BLOCKED
      A competing association has been accepted and an association with this status cannot be accepted.
    • REJECTED

      public static final VTAssociationStatus REJECTED
      The user has explicitly rejected this association.
  • Method Details

    • values

      public static VTAssociationStatus[] 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 VTAssociationStatus 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
    • getDisplayName

      public String getDisplayName()
    • canApply

      public boolean canApply()
      Convenience method that returns true if match with this status can transition to the accepted status.
      Returns:
      true if match with this status can transition to the accepted status.
    • isBlocked

      public boolean isBlocked()
      Convenience method that returns true if match with this status cannot be transitioned to an accepted status.
      Returns:
      true if match with this status cannot be transitioned to an accepted status.