com.atlassian.bamboo.repository
Class PlanRepositoryLinkImpl

java.lang.Object
  extended by com.atlassian.core.bean.EntityObject
      extended by com.atlassian.bamboo.core.BambooEntityObject
          extended by com.atlassian.bamboo.repository.PlanRepositoryLinkImpl
All Implemented Interfaces:
BambooIdProvider, BambooObject, PlanRepositoryLink, java.lang.Cloneable

public class PlanRepositoryLinkImpl
extends BambooEntityObject
implements PlanRepositoryLink


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
PlanRepositoryLinkImpl()
           
PlanRepositoryLinkImpl(Plan plan, RepositoryDataEntity repositoryDataEntity, int position, boolean buildTrigger)
           
 
Method Summary
 Plan getPlan()
           
 int getPosition()
           
 RepositoryDataEntity getRepositoryDataEntity()
           
 RepositoryDefinitionEntity getRepositoryDefinitionEntity()
           
 boolean isBuildTrigger()
           
 void setBuildTrigger(boolean buildTrigger)
           
 void setPlan(Plan plan)
           
 void setPosition(int position)
           
 void setRepositoryDataEntity(RepositoryDataEntity repositoryDataEntity)
           
 void setRepositoryDefinitionEntity(RepositoryDefinitionEntity repositoryDefinition)
           
 
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
 
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
 
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
 

Constructor Detail

PlanRepositoryLinkImpl

public PlanRepositoryLinkImpl()

PlanRepositoryLinkImpl

public PlanRepositoryLinkImpl(Plan plan,
                              RepositoryDataEntity repositoryDataEntity,
                              int position,
                              boolean buildTrigger)
Method Detail

getPlan

@NotNull
public Plan getPlan()
Specified by:
getPlan in interface PlanRepositoryLink

setPlan

public void setPlan(@NotNull
                    Plan plan)
Specified by:
setPlan in interface PlanRepositoryLink

getRepositoryDataEntity

@NotNull
public RepositoryDataEntity getRepositoryDataEntity()
Specified by:
getRepositoryDataEntity in interface PlanRepositoryLink

setRepositoryDataEntity

public void setRepositoryDataEntity(@NotNull
                                    RepositoryDataEntity repositoryDataEntity)
Specified by:
setRepositoryDataEntity in interface PlanRepositoryLink

getRepositoryDefinitionEntity

@NotNull
public RepositoryDefinitionEntity getRepositoryDefinitionEntity()
Specified by:
getRepositoryDefinitionEntity in interface PlanRepositoryLink
Returns:

setRepositoryDefinitionEntity

public void setRepositoryDefinitionEntity(@NotNull
                                          RepositoryDefinitionEntity repositoryDefinition)
Specified by:
setRepositoryDefinitionEntity in interface PlanRepositoryLink

getPosition

public int getPosition()
Specified by:
getPosition in interface PlanRepositoryLink
Returns:
position of the repository in the plan repository list

setPosition

public void setPosition(int position)
Specified by:
setPosition in interface PlanRepositoryLink

isBuildTrigger

public boolean isBuildTrigger()
Specified by:
isBuildTrigger in interface PlanRepositoryLink
Returns:
true iff changes detected in the referenced Source Repository should trigger the build

setBuildTrigger

public void setBuildTrigger(boolean buildTrigger)
Specified by:
setBuildTrigger in interface PlanRepositoryLink


Copyright © 2012 Atlassian. All Rights Reserved.