Package jetbrains.vcs.api
Interface CommitInfo
-
- All Superinterfaces:
CommitData
- All Known Implementing Classes:
CommitDataBean
public interface CommitInfo extends CommitData
Created 30.09.13 12:47- Since:
- 8.1
- Author:
- Eugene Petrenko (eugene.petrenko@jetbrains.com)
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<String>
getBranches()
String
getCommitAuthor()
String
getCommitMessage()
List<String>
getHeadNames()
Repository's current state contains a number of named commits.List<CommitMountPointInfo>
getMountPoints()
List<String>
getTags()
boolean
isIncludedByCheckoutRules()
-
Methods inherited from interface jetbrains.vcs.api.CommitData
getAttributes, getDisplayVersion, getParentRevisions, getVcsDate, getVersion
-
-
-
-
Method Detail
-
getBranches
@NotNull List<String> getBranches()
- Returns:
- branches to which commit belongs or empty list if nothing is known
- Since:
- 8.1
-
getHeadNames
@NotNull List<String> getHeadNames()
Repository's current state contains a number of named commits. We name those commits 'heads' This method returns association of a commit with heads that are on the commit- Returns:
- all head names that are on this commit
- Since:
- 8.1
-
isIncludedByCheckoutRules
boolean isIncludedByCheckoutRules()
- Returns:
- true if commit is not filtered by checkout rules
- Since:
- 8.1
-
getCommitAuthor
@Nullable String getCommitAuthor()
- Returns:
- commit author associated with it
- Since:
- 8.1
-
getCommitMessage
@Nullable String getCommitMessage()
- Returns:
- commit message
- Since:
- 8.1
-
getMountPoints
@NotNull List<CommitMountPointInfo> getMountPoints()
- Returns:
- mount points detected for the commit
- Since:
- 8.1
-
-