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
ConstructorsConstructorDescriptionEnvironmentRepositoryLinkImpl(@NotNull MutableEnvironment environment, @NotNull RepositoryDataEntity repositoryDataEntity, int position) -
Method Summary
Modifier and TypeMethodDescriptionboolean@NotNull InternalEnvironmentint@NotNull RepositoryDataEntityinthashCode()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, setLastModificationDateMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.atlassian.bamboo.core.BambooIdProvider
getIdMethods inherited from interface com.atlassian.bamboo.core.BambooObject
setId
-
Constructor Details
-
EnvironmentRepositoryLinkImpl
public EnvironmentRepositoryLinkImpl() -
EnvironmentRepositoryLinkImpl
public EnvironmentRepositoryLinkImpl(@NotNull @NotNull MutableEnvironment environment, @NotNull @NotNull RepositoryDataEntity repositoryDataEntity, int position)
-
-
Method Details
-
getEnvironment
- Specified by:
getEnvironmentin interfaceEnvironmentRepositoryLink
-
setEnvironment
- Specified by:
setEnvironmentin interfaceEnvironmentRepositoryLink
-
getRepositoryDataEntity
- Specified by:
getRepositoryDataEntityin interfaceEnvironmentRepositoryLink
-
setRepositoryDataEntity
- 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
- Overrides:
equalsin classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()- Overrides:
hashCodein classcom.atlassian.core.bean.EntityObject
-