org.eclipse.emf.cdo.common.revision
Class CDORevisionUtil.AllRevisionsDumper

java.lang.Object
  extended by org.eclipse.emf.cdo.common.revision.CDORevisionUtil.AllRevisionsDumper
Direct Known Subclasses:
CDORevisionUtil.AllRevisionsDumper.Stream
Enclosing class:
CDORevisionUtil

public abstract static class CDORevisionUtil.AllRevisionsDumper
extends Object

Dumps revisions, sorted and grouped by branch, to various output formats and targets. Concrete output formats and targets are implemented by subclasses.

Since:
4.0

Nested Class Summary
static class CDORevisionUtil.AllRevisionsDumper.Stream
          A revision dumper that directs all output to a stream.
 
Constructor Summary
CDORevisionUtil.AllRevisionsDumper(Map<CDOBranch,List<CDORevision>> map)
           
 
Method Summary
 void dump()
           
protected abstract  void dumpBranch(CDOBranch branch)
           
protected  void dumpEnd(List<CDOBranch> branches)
           
protected abstract  void dumpRevision(CDORevision revision)
           
protected  void dumpStart(List<CDOBranch> branches)
           
 Map<CDOBranch,List<CDORevision>> getMap()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDORevisionUtil.AllRevisionsDumper

public CDORevisionUtil.AllRevisionsDumper(Map<CDOBranch,List<CDORevision>> map)
Method Detail

getMap

public Map<CDOBranch,List<CDORevision>> getMap()

dump

public void dump()

dumpStart

protected void dumpStart(List<CDOBranch> branches)

dumpEnd

protected void dumpEnd(List<CDOBranch> branches)

dumpBranch

protected abstract void dumpBranch(CDOBranch branch)

dumpRevision

protected abstract void dumpRevision(CDORevision revision)


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.