com.atlassian.bamboo.deployments.repository
Class EnvironmentRepositoryLinkImpl

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

public class EnvironmentRepositoryLinkImpl
extends BambooEntityObject
implements EnvironmentRepositoryLink


Field Summary
 
Fields inherited from class com.atlassian.bamboo.core.BambooEntityObject
id
 
Constructor Summary
EnvironmentRepositoryLinkImpl()
           
EnvironmentRepositoryLinkImpl(MutableEnvironment environment, RepositoryDataEntity repositoryDataEntity, int position)
           
 
Method Summary
 boolean equals(Object o)
          This method needs to be here in order to use proper id
 InternalEnvironment getEnvironment()
           
 int getPosition()
           
 RepositoryDataEntity getRepositoryDataEntity()
           
 int hashCode()
          This method needs to be here in order to use proper id
 void setEnvironment(InternalEnvironment environment)
           
 void setPosition(int position)
           
 void setRepositoryDataEntity(RepositoryDataEntity repositoryDataEntity)
           
 
Methods inherited from class com.atlassian.bamboo.core.BambooEntityObject
getId, setId
 
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getLastModificationDate, 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

EnvironmentRepositoryLinkImpl

public EnvironmentRepositoryLinkImpl()

EnvironmentRepositoryLinkImpl

public EnvironmentRepositoryLinkImpl(MutableEnvironment environment,
                                     RepositoryDataEntity repositoryDataEntity,
                                     int position)
Method Detail

getEnvironment

@NotNull
public InternalEnvironment getEnvironment()
Specified by:
getEnvironment in interface EnvironmentRepositoryLink

setEnvironment

public void setEnvironment(@NotNull
                           InternalEnvironment environment)
Specified by:
setEnvironment in interface EnvironmentRepositoryLink

getRepositoryDataEntity

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

setRepositoryDataEntity

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

getPosition

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

setPosition

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

equals

public boolean equals(Object o)
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
equals in class BambooEntityObject

hashCode

public int hashCode()
Description copied from class: BambooEntityObject
This method needs to be here in order to use proper id

Overrides:
hashCode in class BambooEntityObject


Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.