com.atlassian.confluence.diff
Class ChangeChunk
java.lang.Object
com.atlassian.confluence.diff.ChangeChunk
- All Implemented Interfaces:
- DiffChunk
public class ChangeChunk
- extends java.lang.Object
- implements DiffChunk
Represents multiple consecutive lines of changes.
This chunk is the highest level chunk available (has no parents)
Lines may be added, deleted, changed, context, snipped or unchanged.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ChangeChunk
public ChangeChunk(DiffType type,
java.util.List<LineChunk> lines)
getType
public DiffType getType()
- Specified by:
getType
in interface DiffChunk
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
getChildren
public java.util.List<LineChunk> getChildren()
- Specified by:
getChildren
in interface DiffChunk
setType
public void setType(DiffType type)
Copyright © 2003-2010 Atlassian. All Rights Reserved.