online source control
back to content
sign up free version control plan

HistoryArray Class Array

Description

The class array of SHistory class, which defines the history information of an item.

Syntax

 class SHistory
{
     long m_lItemID;
     String m_strItemFullName;
     Calendar m_timeModification;
     Calendar m_timeCheckin;
     long m_lFileSize;
     byte m_strMD5[] = new byte[16];
     boolean m_bMergable;
     boolean m_bProject;
     long m_lHistoryID;
     long m_lVersionNumber;
     long m_lChangeSetID;
     Calendar m_timeAction;
     int m_ienumActionType;
     String m_strActionDescription;
     String m_strUserName;
     String m_strLabelName;
     String m_strComment;
     boolean m_bPinned;
}

Fields

m_lItemID
Returns the ID of the item.

m_strItemFullName
Returns the full name of the item.

m_timeModification
Returns the modification time of the item.

m_timeCheckin
Returns the checkin time of the item.

m_lFileSize
Returns the file size of the item.

m_strMD5[]
Returns the checksum of the item.

m_bMergable
Returns whether the item is mergeable.

m_bProject
Returns whether the item is a project.

m_lHistoryID
Returns the ID of a history record.

m_lVersionNumber
Returns the number of the version created by the change set.

m_lChangeSetID
Returns the ID of a change set to which the historical changes belong. For label history, this is the ID of the label.

m_timeAction
Returns the action time of an action.

m_ienumActionType
Returns the types of actions involved in a change set.

m_strActionDescription
Returns the description of an action.

m_strUserName
Returns the name of user who made the action.

m_strLabelName
Returns the label name of the labeled version.

m_strComment
Returns the comment of the action.

m_bPinned
Returns whether the item version is pinned.

See Also

Note: Values of all fields of SHistory class are retrieved from the server.