|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryV2
Method Summary | |
---|---|
BuildChanges |
collectChangesSinceLastBuild(java.lang.String planKey,
java.lang.String lastVcsRevisionKey)
Collects the changes since the lastVcsRevisionKey |
java.io.File |
getSourceCodeDirectory(PlanKey planKey)
Where has the source code been checked out? |
java.io.File |
getSourceCodeDirectory(java.lang.String planKey)
Deprecated. since 3.1, use #getSourceCodeDirectory(PlanKey) |
boolean |
isRepositoryDifferent(Repository repository)
Checks if the current repo is the same as the given repository |
boolean |
referencesDifferentRepository()
Has the repository's configuration been updated so that it now references a completely different build? |
java.lang.String |
retrieveSourceCode(BuildContext buildContext,
java.lang.String vcsRevisionKey)
Checks out the latest source code to an appropriate repository |
java.lang.String |
retrieveSourceCode(java.lang.String planKey,
java.lang.String vcsRevisionKey)
Deprecated. |
Method Detail |
---|
@NotNull BuildChanges collectChangesSinceLastBuild(@NotNull java.lang.String planKey, @Nullable java.lang.String lastVcsRevisionKey) throws RepositoryException
planKey
- lastVcsRevisionKey
- - can be null, if null you should ensure the correct vcsrevisionkey is returned in the BuildChanges object.
RepositoryException
- if something goes wrong@Deprecated @NotNull java.lang.String retrieveSourceCode(@NotNull java.lang.String planKey, @Nullable java.lang.String vcsRevisionKey) throws RepositoryException
planKey
- vcsRevisionKey
- - may be null if you want latest code
RepositoryException
@NotNull java.lang.String retrieveSourceCode(@NotNull BuildContext buildContext, @Nullable java.lang.String vcsRevisionKey) throws RepositoryException
buildContext
- vcsRevisionKey
- - may be null if you want latest code
RepositoryException
@NotNull java.io.File getSourceCodeDirectory(@NotNull PlanKey planKey) throws RepositoryException
planKey
- Plan's key
RepositoryException
- A generic failure@Deprecated @NotNull java.io.File getSourceCodeDirectory(@NotNull java.lang.String planKey) throws RepositoryException
planKey
- Plan's key
RepositoryException
- A generic failureboolean referencesDifferentRepository()
boolean isRepositoryDifferent(@NotNull Repository repository)
repository
- to compare against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |