org.apache.jackrabbit.mk.model
Interface Commit

All Known Implementing Classes:
AbstractCommit, MutableCommit, StoredCommit

public interface Commit


Method Summary
 Id getBranchRootId()
          Returns null if this commit does not represent a branch.
 String getChanges()
           
 long getCommitTS()
           
 String getMsg()
           
 Id getParentId()
           
 Id getRootNodeId()
           
 void serialize(Binding binding)
           
 

Method Detail

getRootNodeId

Id getRootNodeId()

getParentId

Id getParentId()

getCommitTS

long getCommitTS()

getMsg

String getMsg()

getChanges

String getChanges()

getBranchRootId

Id getBranchRootId()
Returns null if this commit does not represent a branch.

Otherwise, returns the id of the branch root commit (i.e. the public commit that this private branch is based upon).

Returns:
the id of the branch root commit or null if this commit does not represent a branch.

serialize

void serialize(Binding binding)
               throws Exception
Throws:
Exception


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.