public class ModificationData extends TModificationData<VcsRoot> implements ChangeData
Constructor and Description |
---|
ModificationData(java.util.Date changeDate,
java.util.List<VcsChange> changes,
java.lang.String description,
java.lang.String user,
VcsRoot vcsRoot,
java.lang.String version,
java.lang.String displayVersion)
This constructor has to be used in production code to create ModificationData instance
|
Modifier and Type | Method and Description |
---|---|
static ModificationData |
substituteFiles(ModificationData originalData,
java.util.List<VcsChange> changedFiles)
Creates a copy of modification data with changed files substituted.
|
equals, getVcsRoot, getVcsRootObject, hashCode, substituteFiles
getChangeCount, getChanges, getDescription, getUserName, isCanBeIgnored, setCanBeIgnored, toString
addParentRevision, equalsImpl, getAttributes, getDisplayVersion, getParentRevisions, getVcsDate, getVersion, setAttribute, setAttributes, setParentRevisions
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getAttributes, getChanges, getDescription, getDisplayVersion, getParentRevisions, getUserName, getVcsDate, getVcsRoot, getVersion, isCanBeIgnored
public ModificationData(@NotNull java.util.Date changeDate, @NotNull java.util.List<VcsChange> changes, @Nullable java.lang.String description, @Nullable java.lang.String user, VcsRoot vcsRoot, @NotNull java.lang.String version, @Nullable java.lang.String displayVersion)
changeDate
- date of the change.changes
- list of all files affected by this modification.description
- commit message.user
- user name in the version control.vcsRoot
- current settings.version
- repository version right after the modification. Has to have
the same meaning as VcsSupport.getCurrentVersion.displayVersion
- repository version right after the modification in the human
readable format. Used for presentation purpose only.@NotNull public static ModificationData substituteFiles(@NotNull ModificationData originalData, @NotNull java.util.List<VcsChange> changedFiles)
originalData
- original datachangedFiles
- new changed files