Package ghidra.program.model.listing
Class CommentHistory
- java.lang.Object
-
- ghidra.program.model.listing.CommentHistory
-
public class CommentHistory extends java.lang.Object
Container class for information about changes to a comment.
-
-
Constructor Summary
Constructors Constructor Description CommentHistory(Address addr, int commentType, java.lang.String userName, java.lang.String comments, java.util.Date modificationDate)
Constructs a new CommentHistory object
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Address
getAddress()
Get address for this label history objectjava.lang.String
getComments()
Get the comments for this history objectint
getCommentType()
Get the comment typejava.util.Date
getModificationDate()
Get the modification datejava.lang.String
getUserName()
Get the user that made the changejava.lang.String
toString()
-
-
-
Constructor Detail
-
CommentHistory
public CommentHistory(Address addr, int commentType, java.lang.String userName, java.lang.String comments, java.util.Date modificationDate)
Constructs a new CommentHistory object- Parameters:
addr
- the address of the commentcommentType
- the type of commentuserName
- the name of the user that changed the commentcomments
- the list of comments.modificationDate
- the date the comment was changed.
-
-
Method Detail
-
getAddress
public Address getAddress()
Get address for this label history object- Returns:
- address for this label history object.
-
getUserName
public java.lang.String getUserName()
Get the user that made the change- Returns:
- the user that made the change
-
getComments
public java.lang.String getComments()
Get the comments for this history object- Returns:
- the comments for this history object
-
getCommentType
public int getCommentType()
Get the comment type- Returns:
- the comment type
-
getModificationDate
public java.util.Date getModificationDate()
Get the modification date- Returns:
- the modification date
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-