public class ContentChange extends StructuralChange
myPath
Constructor and Description |
---|
ContentChange(java.io.DataInput in) |
ContentChange(long id,
java.lang.String path,
Content oldContent,
long oldTimestamp) |
Modifier and Type | Method and Description |
---|---|
void |
accept(ChangeVisitor v) |
java.util.List<Content> |
getContentsToPurge() |
Content |
getOldContent() |
long |
getOldTimestamp() |
void |
revertOn(RootEntry root,
boolean warnOnFileNotFound) |
void |
write(java.io.DataOutput out) |
affectsMatching, affectsPath, affectsProject, cannotRevert, getAffectedPaths, getOldPath, getPath, isCreationalFor, removeEntry, revertPath, toString
public ContentChange(long id, java.lang.String path, Content oldContent, long oldTimestamp)
public ContentChange(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 Content getOldContent()
public long getOldTimestamp()
public void revertOn(RootEntry root, boolean warnOnFileNotFound)
revertOn
in class StructuralChange
public java.util.List<Content> getContentsToPurge()
getContentsToPurge
in class StructuralChange
public void accept(ChangeVisitor v) throws ChangeVisitor.StopVisitingException
accept
in class Change
ChangeVisitor.StopVisitingException