|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebRepositoryViewer
This interface is the start of a repository viewer api.
Field Summary | |
---|---|
static java.lang.String |
CVS_REPO_TYPE
We're generating a link to a cvs based repository |
static java.lang.String |
PERFORCE_REPO_TYPE
We're generating a link to a PERFORCE based repository |
static java.lang.String |
SVN_REPO_TYPE
We're generating a link to a SVN based repository |
Method Summary | |
---|---|
java.lang.String |
getWebRepositoryUrlForFile(CommitFile file,
java.lang.String repositoryName,
java.lang.String repositoryType)
Generate the link to a given file in a given repository |
Field Detail |
---|
static final java.lang.String CVS_REPO_TYPE
static final java.lang.String SVN_REPO_TYPE
static final java.lang.String PERFORCE_REPO_TYPE
Method Detail |
---|
@NotNull java.lang.String getWebRepositoryUrlForFile(@NotNull CommitFile file, @Nullable java.lang.String repositoryName, @Nullable java.lang.String repositoryType)
file
- The file we want to link to.repositoryName
- An optional repository. This is used when the viewcvs baseurl points to
a multi-build repositoryrepositoryType
- One of IS_CVS_REPO_LINK or SVN_REPO_TYPE.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |