Class VersionTrackingChangeRecord

java.lang.Object
ghidra.framework.model.DomainObjectChangeRecord
ghidra.feature.vt.api.impl.VersionTrackingChangeRecord
All Implemented Interfaces:
Serializable

public class VersionTrackingChangeRecord extends ghidra.framework.model.DomainObjectChangeRecord
Event data for a DomainObjectChangeEvent generated by Version Tracking.
See Also:
  • Constructor Details

    • VersionTrackingChangeRecord

      public VersionTrackingChangeRecord(VTEvent eventType, Object affected, Object oldValue, Object newValue)
      Construct a new VersionTrackingChangeRecord.
      Parameters:
      eventType - event type
      affected - the object that is the subject of this change record; may be null.
      oldValue - the original value; may be null.
      newValue - the new value; may be null.
  • Method Details

    • getObject

      public Object getObject()
      Return the object that is the subject of this change record.
      Returns:
      Object null if this change record does not have the affected object
    • toString

      public String toString()
      Overrides:
      toString in class ghidra.framework.model.DomainObjectChangeRecord