public class Change
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Change.Type |
Modifier and Type | Field and Description |
---|---|
protected boolean |
myMoved |
protected java.lang.String |
myMoveRelativePath |
protected boolean |
myRenamed |
protected boolean |
myRenameOrMoveCached |
Modifier | Constructor and Description |
---|---|
protected |
Change(Change change) |
|
Change(ContentRevision beforeRevision,
ContentRevision afterRevision) |
|
Change(ContentRevision beforeRevision,
ContentRevision afterRevision,
FileStatus fileStatus) |
Modifier and Type | Method and Description |
---|---|
void |
addAdditionalLayerElement(java.lang.String name,
Change change) |
boolean |
affectsFile(java.io.File ioFile) |
boolean |
equals(java.lang.Object o) |
javax.swing.Icon |
getAdditionalIcon() |
ContentRevision |
getAfterRevision() |
ContentRevision |
getBeforeRevision() |
java.lang.String |
getDescription() |
FileStatus |
getFileStatus() |
protected java.lang.String |
getMovedText(Project project) |
java.lang.String |
getMoveRelativePath(Project project) |
java.lang.String |
getOriginText(Project project) |
java.util.Map<java.lang.String,Change> |
getOtherLayers() |
protected java.lang.String |
getRenamedText() |
Change.Type |
getType() |
VirtualFile |
getVirtualFile() |
int |
hashCode() |
boolean |
isIsReplaced() |
boolean |
isMoved() |
boolean |
isRenamed() |
void |
setIsReplaced(boolean isReplaced) |
java.lang.String |
toString() |
protected java.lang.String myMoveRelativePath
protected boolean myRenamed
protected boolean myMoved
protected boolean myRenameOrMoveCached
public Change(ContentRevision beforeRevision, ContentRevision afterRevision)
public Change(ContentRevision beforeRevision, ContentRevision afterRevision, FileStatus fileStatus)
protected Change(Change change)
public void addAdditionalLayerElement(java.lang.String name, Change change)
public java.util.Map<java.lang.String,Change> getOtherLayers()
public Change.Type getType()
public ContentRevision getBeforeRevision()
public ContentRevision getAfterRevision()
public FileStatus getFileStatus()
public VirtualFile getVirtualFile()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean affectsFile(java.io.File ioFile)
public boolean isRenamed()
public boolean isMoved()
public java.lang.String getMoveRelativePath(Project project)
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getOriginText(Project project)
protected java.lang.String getRenamedText()
protected java.lang.String getMovedText(Project project)
public boolean isIsReplaced()
public void setIsReplaced(boolean isReplaced)
public javax.swing.Icon getAdditionalIcon()
public java.lang.String getDescription()