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
ConstructorsConstructorDescriptionEmpty constructor.PlanVcsRevisionHistoryItem(@NotNull PlanKey planKey, int buildNumber, @NotNull PlanVcsRevisionData planVcsRevisionData, long repositoryId) -
Method Summary
Modifier and TypeMethodDescriptionint@Nullable StringlongvoidsetBuildNumber(int buildNumber) voidsetCustomXmlData(@Nullable String customXmlData) voidsetPlanKey(PlanKey planKey) voidsetRepositoryId(long repositoryId) voidsetVcsRevisionKey(String vcsRevisionKey) Methods inherited from class com.atlassian.bamboo.hibernate.HibernateBambooEntityObject
getId, setIdMethods 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
-