com.atlassian.confluence.diff
Class ChangeChunk

java.lang.Object
  extended by 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.


Constructor Summary
ChangeChunk(DiffType type, List<LineChunk> lines)
           
 
Method Summary
 List<LineChunk> getChildren()
           
 DiffType getType()
           
 void setType(DiffType type)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChangeChunk

public ChangeChunk(DiffType type,
                   List<LineChunk> lines)
Method Detail

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.