com.atlassian.bamboo.plan.vcsRevision
Class PlanVcsRevisionHistoryItem

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.plan.vcsRevision.PlanVcsRevisionHistoryItem
All Implemented Interfaces:
BambooIdProvider, BambooObject, java.lang.Cloneable

public class PlanVcsRevisionHistoryItem
extends BambooEntityObject

Class representing item in change detection history of a plan. For internal use only. Any vcs history manipulation should be performed through PlanVcsRevisionHistoryService.


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
PlanVcsRevisionHistoryItem()
          Empty constructor.
PlanVcsRevisionHistoryItem(PlanKey planKey, int buildNumber, PlanVcsRevisionData planVcsRevisionData, long repositoryId)
           
 
Method Summary
 PlanVcsRevisionData asRevisionData()
           
 int getBuildNumber()
           
 java.lang.String getCustomXmlData()
           
 PlanKey getPlanKey()
           
 long getRepositoryId()
           
 java.lang.String getVcsRevisionKey()
           
 void setBuildNumber(int buildNumber)
           
 void setCustomXmlData(java.lang.String customXmlData)
           
 void setPlanKey(PlanKey planKey)
           
 void setRepositoryId(long repositoryId)
           
 void setVcsRevisionKey(java.lang.String vcsRevisionKey)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, equals, getCreationDate, getCurrentDate, getLastModificationDate, hashCode, setClock, setCreationDate, setLastModificationDate
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PlanVcsRevisionHistoryItem

public PlanVcsRevisionHistoryItem()
Empty constructor.


PlanVcsRevisionHistoryItem

public PlanVcsRevisionHistoryItem(@NotNull
                                  PlanKey planKey,
                                  int buildNumber,
                                  @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 java.lang.String getVcsRevisionKey()

setVcsRevisionKey

public void setVcsRevisionKey(java.lang.String vcsRevisionKey)

getRepositoryId

public long getRepositoryId()

setRepositoryId

public void setRepositoryId(long repositoryId)

getCustomXmlData

@Nullable
public java.lang.String getCustomXmlData()

setCustomXmlData

public void setCustomXmlData(@Nullable
                             java.lang.String customXmlData)

asRevisionData

public PlanVcsRevisionData asRevisionData()


Copyright © 2012 Atlassian. All Rights Reserved.