Package ghidra.feature.vt.api.main
Enum Class VTAssociationStatus
- All Implemented Interfaces:
Serializable
,Comparable<VTAssociationStatus>
,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAn association with this status means no other competing associations can add markup items.An association with this status is available for accepting (applying).A competing association has been accepted and an association with this status cannot be accepted.The user has explicitly rejected this association. -
Method Summary
Modifier and TypeMethodDescriptionboolean
canApply()
Convenience method that returns true if match with this status can transition to the accepted status.boolean
Convenience method that returns true if match with this status cannot be transitioned to an accepted status.static VTAssociationStatus
Returns the enum constant of this class with the specified name.static VTAssociationStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
AVAILABLE
An association with this status is available for accepting (applying). Also, no competing associations are currentlyACCEPTED
. -
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 beinvalid reference
#FULLY_APPLIED
-
BLOCKED
A competing association has been accepted and an association with this status cannot be accepted. -
REJECTED
The user has explicitly rejected this association.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-
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.
-