com.atlassian.confluence.diff
Class ChangeChunk
java.lang.Object
com.atlassian.confluence.diff.ChangeChunk
- All Implemented Interfaces:
- DiffChunk, Serializable
public class ChangeChunk
- extends Object
- implements DiffChunk, Serializable
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.
- See Also:
- Serialized Form
ChangeChunk
public ChangeChunk(DiffType type,
List<LineChunk> lines)
getType
public DiffType getType()
- Specified by:
getType
in interface DiffChunk
toString
public String toString()
- Overrides:
toString
in class Object
getChildren
public List<LineChunk> getChildren()
- Specified by:
getChildren
in interface DiffChunk
setType
public void setType(DiffType type)