Class PlanVcsRevisionHistoryItem
java.lang.Object
com.atlassian.core.bean.EntityObject
com.atlassian.bamboo.core.BambooEntityObject
com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
com.atlassian.bamboo.plan.vcsRevision.PlanVcsRevisionHistoryItem
- All Implemented Interfaces:
BambooIdProvider
,BambooObject
,Cloneable
Class representing item in change detection history of a plan.
For internal use only. Any vcs history manipulation should be performed through
PlanVcsRevisionHistoryService
.-
Constructor Summary
ConstructorDescriptionEmpty constructor.PlanVcsRevisionHistoryItem
(@NotNull PlanKey planKey, int buildNumber, @NotNull PlanVcsRevisionData planVcsRevisionData, long repositoryId) -
Method Summary
Modifier and TypeMethodDescriptionint
@Nullable String
long
void
setBuildNumber
(int buildNumber) void
setCustomXmlData
(@Nullable String customXmlData) void
setPlanKey
(PlanKey planKey) void
setRepositoryId
(long repositoryId) void
setVcsRevisionKey
(String vcsRevisionKey) Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
getId, setId
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
-
Constructor Details
-
PlanVcsRevisionHistoryItem
public PlanVcsRevisionHistoryItem()Empty constructor. -
PlanVcsRevisionHistoryItem
public PlanVcsRevisionHistoryItem(@NotNull @NotNull PlanKey planKey, int buildNumber, @NotNull @NotNull PlanVcsRevisionData planVcsRevisionData, long repositoryId)
-
-
Method Details
-
getPlanKey
-
setPlanKey
-
getBuildNumber
public int getBuildNumber() -
setBuildNumber
public void setBuildNumber(int buildNumber) -
getVcsRevisionKey
-
setVcsRevisionKey
-
getRepositoryId
public long getRepositoryId() -
setRepositoryId
public void setRepositoryId(long repositoryId) -
getCustomXmlData
-
setCustomXmlData
-
asRevisionData
-