org.eclipse.emf.cdo.transaction
Class CDOTransactionCommentator
java.lang.Object
org.eclipse.emf.cdo.transaction.CDOTransactionCommentator
- All Implemented Interfaces:
- Closeable
- public class CDOTransactionCommentator
- extends Object
- implements Closeable
A utility class that, when associated with a transaction
, automatically updates the
commit comment
according to local model modifications.
- Since:
- 4.2
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CDOTransactionCommentator
public CDOTransactionCommentator(CDOTransaction transaction)
getTransaction
public final CDOTransaction getTransaction()
isClosed
public final boolean isClosed()
- Specified by:
isClosed
in interface Closeable
close
public void close()
- Specified by:
close
in interface Closeable
createComment
protected String createComment(CDOCommitContext commitContext)
appendSummary
public static void appendSummary(StringBuilder builder,
CDOCommitContext commitContext)
- Since:
- 4.2
Copyright (c) 2011, 2012 Eike Stepper (Berlin, Germany) and others.