public interface SCMRepository
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getDescription()
A user friendly description of this repository
|
RevisionKey |
getDiffRevisionKey(Principal principal,
RevisionKey key)
get the prior revision key, this is the revision this one came from
|
java.lang.String |
getName()
A unique key for the repository.
|
RevisionData |
getRevisionData(Principal principal,
RevisionKey key)
Return information about a particular revision of a particular path.
|
java.lang.String |
getStateDescription()
A human readable description of the repository's current state
|
boolean |
isAvailable(Principal principal)
Is this repository available?
|
void |
streamContents(Principal principal,
RevisionKey key,
java.io.OutputStream os)
Stream the content of the revision to the given output stream
|
boolean isAvailable(Principal principal)
principal - java.lang.String getName()
java.lang.String getDescription()
java.lang.String getStateDescription()
RevisionData getRevisionData(Principal principal, RevisionKey key) throws NotFoundException
NotFoundExceptionvoid streamContents(Principal principal, RevisionKey key, java.io.OutputStream os) throws java.io.IOException, NotFoundException
java.io.IOExceptionNotFoundExceptionRevisionKey getDiffRevisionKey(Principal principal, RevisionKey key) throws NotFoundException
NotFoundException