Class EnvironmentRepositoryLinkImpl
- java.lang.Object
-
- com.atlassian.core.bean.EntityObject
-
- com.atlassian.bamboo.core.BambooEntityObject
-
- com.atlassian.bamboo.deployments.repository.EnvironmentRepositoryLinkImpl
-
- All Implemented Interfaces:
BambooIdProvider,BambooObject,EnvironmentRepositoryLink,Cloneable
@Entity public class EnvironmentRepositoryLinkImpl extends BambooEntityObject implements EnvironmentRepositoryLink
-
-
Constructor Summary
Constructors Constructor Description EnvironmentRepositoryLinkImpl()EnvironmentRepositoryLinkImpl(@NotNull MutableEnvironment environment, @NotNull RepositoryDataEntity repositoryDataEntity, int position)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)@NotNull InternalEnvironmentgetEnvironment()intgetPosition()@NotNull RepositoryDataEntitygetRepositoryDataEntity()inthashCode()voidsetEnvironment(@NotNull InternalEnvironment environment)voidsetPosition(int position)voidsetRepositoryDataEntity(@NotNull RepositoryDataEntity repositoryDataEntity)-
Methods inherited from class com.atlassian.core.bean.EntityObject
clone, getCreationDate, getCurrentDate, getId, getLastModificationDate, setClock, setCreationDate, setId, setLastModificationDate
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getId
-
Methods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
-
-
-
Constructor Detail
-
EnvironmentRepositoryLinkImpl
public EnvironmentRepositoryLinkImpl()
-
EnvironmentRepositoryLinkImpl
public EnvironmentRepositoryLinkImpl(@NotNull @NotNull MutableEnvironment environment, @NotNull @NotNull RepositoryDataEntity repositoryDataEntity, int position)
-
-
Method Detail
-
getEnvironment
@NotNull public @NotNull InternalEnvironment getEnvironment()
- Specified by:
getEnvironmentin interfaceEnvironmentRepositoryLink
-
setEnvironment
public void setEnvironment(@NotNull @NotNull InternalEnvironment environment)- Specified by:
setEnvironmentin interfaceEnvironmentRepositoryLink
-
getRepositoryDataEntity
@NotNull public @NotNull RepositoryDataEntity getRepositoryDataEntity()
- Specified by:
getRepositoryDataEntityin interfaceEnvironmentRepositoryLink
-
setRepositoryDataEntity
public void setRepositoryDataEntity(@NotNull @NotNull RepositoryDataEntity repositoryDataEntity)- Specified by:
setRepositoryDataEntityin interfaceEnvironmentRepositoryLink
-
getPosition
public int getPosition()
- Specified by:
getPositionin interfaceEnvironmentRepositoryLink- Returns:
- position of the repository in the environment repository list
-
setPosition
public void setPosition(int position)
- Specified by:
setPositionin interfaceEnvironmentRepositoryLink
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()
- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-
-