|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SCMRepository
A single Crucible plugin-based SCM repository.
Method Summary | |
---|---|
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 |
Method Detail |
---|
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
NotFoundException
void streamContents(Principal principal, RevisionKey key, java.io.OutputStream os) throws java.io.IOException, NotFoundException
java.io.IOException
NotFoundException
RevisionKey getDiffRevisionKey(Principal principal, RevisionKey key) throws NotFoundException
NotFoundException
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |