|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface BuildChanges
Class that encapsulates the repository changes for a particular build result
Method Summary | |
---|---|
void |
addRepositoryChanges(BuildRepositoryChanges repositoryChanges)
|
BuildRepositoryChanges |
getBuildRepositoryChanges(long repositoryId)
|
List<CommitContext> |
getChanges()
Get changes from all repositories |
List<CommitContext> |
getChanges(long repositoryId)
List of Commit objects that triggered off this particular build. |
String |
getIntegrationBranchVcsRevision()
The current revision of the integration branch, that one that was detected during detecting all other changes. |
long |
getIntegrationRepositoryId()
|
String |
getPreviousVcsRevisionKey(long repositoryId)
Returns a Repository dependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey
This is value is taken from the Repository as to be internally consistent |
Iterable<BuildRepositoryChanges> |
getRepositoryChanges()
|
int |
getSkippedCommitsCount(long repositoryId)
The number of commits that were included in this buildChanges, but their details were skipped (because there was too many commits to keep them all in this buildChanges) |
String |
getVcsLastChangeRevisionKey(long repositoryId)
Returns a Repository dependent "id" for last change for repository subpath - currently implemented for Subversion ONLY
This is value is taken from the Repository as to be internally consistent |
PlanVcsRevisionData |
getVcsRevisionData(long repositoryId)
Returns PlanVcsRevisionData containing Repository dependent vcs revision data for this checkout. |
String |
getVcsRevisionKey(long repositoryId)
Returns a Repository dependent "id" for this checkout. |
void |
setChanges(long repositoryId,
List<CommitContext> changes)
|
void |
setIntegrationBranchVcsRevision(String revision)
|
void |
setIntegrationRepositoryId(long integrationRepositoryId)
|
void |
setPreviousVcsRevisionKey(long repositoryId,
String previousVcsRevisionKey)
|
void |
setSkippedCommitsCount(long repositoryId,
int skippedCommitsCount)
|
void |
setVcsLastChangeRevisionKey(long repositoryId,
String vcsRevisionKeyForSubpath)
|
void |
setVcsRevisionKey(long repositoryId,
String vcsRevisionKey)
|
Method Detail |
---|
void addRepositoryChanges(@NotNull BuildRepositoryChanges repositoryChanges)
Iterable<BuildRepositoryChanges> getRepositoryChanges()
@Nullable String getVcsRevisionKey(long repositoryId)
Repository
dependent "id" for this checkout. e.g. date timestamp for CVS, revision number for
SVN etc. This is value is taken from the Repository
as to be internally consistent
void setVcsRevisionKey(long repositoryId, @NotNull String vcsRevisionKey)
@NotNull PlanVcsRevisionData getVcsRevisionData(long repositoryId)
PlanVcsRevisionData
containing Repository
dependent vcs revision data for this checkout.
repositoryId
-
String getPreviousVcsRevisionKey(long repositoryId)
Repository
dependent "id" for previous state of repository, so change is between previousVcsRevisionKey and vcsRevisionKey
This is value is taken from the Repository
as to be internally consistent
void setPreviousVcsRevisionKey(long repositoryId, @Nullable String previousVcsRevisionKey)
String getVcsLastChangeRevisionKey(long repositoryId)
Repository
dependent "id" for last change for repository subpath - currently implemented for Subversion ONLY
This is value is taken from the Repository
as to be internally consistent
void setVcsLastChangeRevisionKey(long repositoryId, String vcsRevisionKeyForSubpath)
@NotNull List<CommitContext> getChanges(long repositoryId)
List
of Commit
objects that triggered off this particular build. Returns empty collection if no changes
returned.
repositoryId
-
List
of Commit
s. May be empty@NotNull List<CommitContext> getChanges()
void setChanges(long repositoryId, @NotNull List<CommitContext> changes)
int getSkippedCommitsCount(long repositoryId)
void setSkippedCommitsCount(long repositoryId, int skippedCommitsCount)
@Nullable String getIntegrationBranchVcsRevision()
void setIntegrationBranchVcsRevision(@NotNull String revision)
long getIntegrationRepositoryId()
void setIntegrationRepositoryId(long integrationRepositoryId)
@NotNull BuildRepositoryChanges getBuildRepositoryChanges(long repositoryId)
repositoryId
- repository id
BuildRepositoryChanges
object for a specified repository id.
IllegalArgumentException
- if the repository is not included in this changeset.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |