|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RepositoryV2
Method Summary | |
---|---|
BuildRepositoryChanges |
collectChangesSinceLastBuild(java.lang.String planKey,
java.lang.String lastVcsRevisionKey)
Collects the changes since the lastVcsRevisionKey. |
java.io.File |
getSourceCodeDirectory(PlanKey planKey)
Deprecated. since 3.3 Repository must handle checkout to any sub-directory. |
boolean |
isRepositoryDifferent(Repository repository)
Checks if the current repo is the same as the given repository |
Method Detail |
---|
@NotNull BuildRepositoryChanges 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@NotNull @Deprecated java.io.File getSourceCodeDirectory(@NotNull PlanKey planKey) throws RepositoryException
CustomSourceDirectoryAwareRepository
- The returned path should be absolute
planKey
- Plan's key
RepositoryException
- A generic failureboolean isRepositoryDifferent(@NotNull Repository repository)
repository
- to compare against
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |