Package jetbrains.vcs.api
Interface ChangeData
-
- All Superinterfaces:
CommitData
- All Known Implementing Classes:
ModificationData
public interface ChangeData extends CommitData
This interface represents a change collected from the repository.- Since:
- 8.0 `
- Author:
- kir
- See Also:
CollectChangesService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,String>getAttributes()List<VcsChange>getChanges()StringgetDescription()StringgetDisplayVersion()List<String>getParentRevisions()StringgetUserName()DategetVcsDate()VcsRootgetVcsRoot()Get VcsRoot, associated with the change.StringgetVersion()booleanisCanBeIgnored()
-
-
-
Method Detail
-
getUserName
@Nullable String getUserName()
- Returns:
- VCS user name
-
getVersion
@NotNull String getVersion()
- Specified by:
getVersionin interfaceCommitData- Returns:
- VCS revision (internal representation)
-
getDisplayVersion
@NotNull String getDisplayVersion()
- Specified by:
getDisplayVersionin interfaceCommitData- Returns:
- VCS revision (displayable representation)
-
getDescription
@Nullable String getDescription()
- Returns:
- VCS commit message
-
getVcsDate
@NotNull Date getVcsDate()
- Specified by:
getVcsDatein interfaceCommitData- Returns:
- VCS change date
-
getParentRevisions
@NotNull List<String> getParentRevisions()
- Specified by:
getParentRevisionsin interfaceCommitData- Returns:
- parent revisions of this change, returns an empty list if VCS does not provide information about parents.
- Since:
- 7.0
-
getAttributes
@NotNull Map<String,String> getAttributes()
- Specified by:
getAttributesin interfaceCommitData- Returns:
- attributes of this change
- Since:
- 8.0
-
isCanBeIgnored
boolean isCanBeIgnored()
- Returns:
- true if this change can be ignored (i.e. is not registered in the system). Usually change can be safely ignored if all its files are excluded by checkout rules, however there are cases when it is not true.
-
getVcsRoot
@NotNull VcsRoot getVcsRoot()
Get VcsRoot, associated with the change.
-
-