org.apache.jackrabbit.mk.core
Class Repository
java.lang.Object
org.apache.jackrabbit.mk.core.Repository
public class Repository
- extends Object
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Repository
public Repository(String homeDir)
throws Exception
- Throws:
Exception
Repository
public Repository(RevisionStore rs,
BlobStore bs)
- Alternate constructor, used for testing.
- Parameters:
rs - revision storebs - blob store
Repository
protected Repository()
- Argument-less constructor, used for in-memory kernel.
init
public void init()
throws Exception
- Throws:
Exception
shutDown
public void shutDown()
throws Exception
- Throws:
Exception
getRevisionStore
public RevisionStore getRevisionStore()
getBlobStore
public BlobStore getBlobStore()
getHeadRevision
public Id getHeadRevision()
throws Exception
- Throws:
Exception
getHeadCommit
public StoredCommit getHeadCommit()
throws Exception
- Throws:
Exception
getCommit
public StoredCommit getCommit(Id id)
throws NotFoundException,
Exception
- Throws:
NotFoundException
Exception
getNodeState
public NodeState getNodeState(Id revId,
String path)
throws Exception
- Throws:
Exception
nodeExists
public boolean nodeExists(Id revId,
String path)
throws Exception
- Throws:
Exception
getCommitBuilder
public CommitBuilder getCommitBuilder(Id revId,
String msg)
throws Exception
- Throws:
Exception
Copyright © 2012 The Apache Software Foundation. All Rights Reserved.