com.atlassian.confluence.diff
Class ChangeChunk
java.lang.Object
com.atlassian.confluence.diff.ChangeChunk
- All Implemented Interfaces:
- DiffChunk
public class ChangeChunk
- extends 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.
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)
Copyright © 2003-2011 Atlassian. All Rights Reserved.