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
@Entity @Internal public class PlanVcsRevisionHistoryItem extends HibernateBambooEntityObject
Class representing item in change detection history of a plan. For internal use only. Any vcs history manipulation should be performed throughPlanVcsRevisionHistoryService
.
-
-
Constructor Summary
Constructors Constructor Description PlanVcsRevisionHistoryItem()
Empty constructor.PlanVcsRevisionHistoryItem(@NotNull PlanKey planKey, int buildNumber, @NotNull PlanVcsRevisionData planVcsRevisionData, long repositoryId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PlanVcsRevisionData
asRevisionData()
int
getBuildNumber()
@Nullable String
getCustomXmlData()
PlanKey
getPlanKey()
long
getRepositoryId()
String
getVcsRevisionKey()
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
-
-
-
-
Constructor Detail
-
PlanVcsRevisionHistoryItem
public PlanVcsRevisionHistoryItem()
Empty constructor.
-
PlanVcsRevisionHistoryItem
public PlanVcsRevisionHistoryItem(@NotNull @NotNull PlanKey planKey, int buildNumber, @NotNull @NotNull PlanVcsRevisionData planVcsRevisionData, long repositoryId)
-
-
Method Detail
-
getPlanKey
public PlanKey getPlanKey()
-
setPlanKey
public void setPlanKey(PlanKey planKey)
-
getBuildNumber
public int getBuildNumber()
-
setBuildNumber
public void setBuildNumber(int buildNumber)
-
getVcsRevisionKey
public String getVcsRevisionKey()
-
setVcsRevisionKey
public void setVcsRevisionKey(String vcsRevisionKey)
-
getRepositoryId
public long getRepositoryId()
-
setRepositoryId
public void setRepositoryId(long repositoryId)
-
getCustomXmlData
@Nullable public @Nullable String getCustomXmlData()
-
setCustomXmlData
public void setCustomXmlData(@Nullable @Nullable String customXmlData)
-
asRevisionData
public PlanVcsRevisionData asRevisionData()
-
-