Package ghidra.feature.vt.api.main
Class VTAssociationMarkupStatus
java.lang.Object
ghidra.feature.vt.api.main.VTAssociationMarkupStatus
- All Implemented Interfaces:
Comparable<VTAssociationMarkupStatus>
public class VTAssociationMarkupStatus
extends Object
implements Comparable<VTAssociationMarkupStatus>
Class the indicates an overview, or high-level status, for the markup items
within an association. This status can be used to query the state of the markup items. For
example,
hasUnexaminedMarkup()
will indicate of some markup items have not yet been
applied or marked as considered.-
Constructor Summary
ConstructorDescriptionVTAssociationMarkupStatus
(boolean hasUnexamined, boolean hasApplied, boolean hasRejected, boolean hasDontCare, boolean hasDontKnow, boolean hasErrors) VTAssociationMarkupStatus
(int status) -
Method Summary
Modifier and TypeMethodDescriptionint
boolean
Returns a description of this status, detailing the various status values.int
Returns the combined bit fields for the various status bits.boolean
Returns true if there is one or markup items that have been applied.boolean
Returns true if there is one or markup items that have been marked as "Don't Care".boolean
Returns true if there is one or markup items that have been marked as "Don't Know".boolean
Returns true if there is one or markup items that encountered an error when attempting to apply.int
hashCode()
boolean
Returns true if there is one or markup items that have been rejected.boolean
Returns true if there is one or markup items that have not had a decision made on them.boolean
Returns true if all the markup items have been appliedboolean
Returns true if the status has been initialized.toString()
-
Constructor Details
-
VTAssociationMarkupStatus
public VTAssociationMarkupStatus() -
VTAssociationMarkupStatus
public VTAssociationMarkupStatus(int status) -
VTAssociationMarkupStatus
public VTAssociationMarkupStatus(boolean hasUnexamined, boolean hasApplied, boolean hasRejected, boolean hasDontCare, boolean hasDontKnow, boolean hasErrors)
-
-
Method Details
-
isInitialized
public boolean isInitialized()Returns true if the status has been initialized. It is initialized when an association is accepted.- Returns:
- true if the status has been initialized.
-
hasUnexaminedMarkup
public boolean hasUnexaminedMarkup()Returns true if there is one or markup items that have not had a decision made on them.- Returns:
- true if there is one or markup items that have not had a decision made on them.
-
hasAppliedMarkup
public boolean hasAppliedMarkup()Returns true if there is one or markup items that have been applied.- Returns:
- true if there is one or markup items that have been applied.
-
hasRejectedMarkup
public boolean hasRejectedMarkup()Returns true if there is one or markup items that have been rejected.- Returns:
- true if there is one or markup items that have been rejected.
-
hasDontCareMarkup
public boolean hasDontCareMarkup()Returns true if there is one or markup items that have been marked as "Don't Care".- Returns:
- true if there is one or markup items that have been marked as "Don't Care".
-
hasDontKnowMarkup
public boolean hasDontKnowMarkup()Returns true if there is one or markup items that have been marked as "Don't Know".- Returns:
- true if there is one or markup items that have been marked as "Don't Know".
-
hasErrors
public boolean hasErrors()Returns true if there is one or markup items that encountered an error when attempting to apply.- Returns:
- true if there is one or markup items that encountered an error when attempting to apply.
-
getStatusValue
public int getStatusValue()Returns the combined bit fields for the various status bits.- Returns:
- the combine bit fields value for the status.
-
equals
-
hashCode
public int hashCode() -
isFullyApplied
public boolean isFullyApplied()Returns true if all the markup items have been applied- Returns:
- true if all the markup items have been applied
-
compareTo
- Specified by:
compareTo
in interfaceComparable<VTAssociationMarkupStatus>
-
getDescription
Returns a description of this status, detailing the various status values.- Returns:
- a description of this status, detailing the various status values.
-
toString
-