public class RenameChange extends StructuralChange
myPath
Constructor and Description |
---|
RenameChange(java.io.DataInput in) |
RenameChange(long id,
java.lang.String path,
java.lang.String oldName) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ChangeVisitor v) |
protected java.lang.String[] |
getAffectedPaths() |
java.lang.String |
getOldName() |
java.lang.String |
getOldPath() |
void |
revertOn(RootEntry root,
boolean warnOnFileNotFound) |
void |
write(java.io.DataOutput out) |
affectsMatching, affectsPath, affectsProject, cannotRevert, getContentsToPurge, getPath, isCreationalFor, removeEntry, revertPath, toString
public RenameChange(long id, java.lang.String path, java.lang.String oldName)
public RenameChange(java.io.DataInput in) throws java.io.IOException
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in class StructuralChange
java.io.IOException
public java.lang.String getOldPath()
getOldPath
in class StructuralChange
public java.lang.String getOldName()
public void revertOn(RootEntry root, boolean warnOnFileNotFound)
revertOn
in class StructuralChange
protected java.lang.String[] getAffectedPaths()
getAffectedPaths
in class StructuralChange
public void accept(ChangeVisitor v) throws ChangeVisitor.StopVisitingException
accept
in class Change
ChangeVisitor.StopVisitingException