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 boolean
equals(Object o)
@NotNull InternalEnvironment
getEnvironment()
int
getPosition()
@NotNull RepositoryDataEntity
getRepositoryDataEntity()
int
hashCode()
void
setEnvironment(@NotNull InternalEnvironment environment)
void
setPosition(int position)
void
setRepositoryDataEntity(@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:
getEnvironment
in interfaceEnvironmentRepositoryLink
-
setEnvironment
public void setEnvironment(@NotNull @NotNull InternalEnvironment environment)
- Specified by:
setEnvironment
in interfaceEnvironmentRepositoryLink
-
getRepositoryDataEntity
@NotNull public @NotNull RepositoryDataEntity getRepositoryDataEntity()
- Specified by:
getRepositoryDataEntity
in interfaceEnvironmentRepositoryLink
-
setRepositoryDataEntity
public void setRepositoryDataEntity(@NotNull @NotNull RepositoryDataEntity repositoryDataEntity)
- Specified by:
setRepositoryDataEntity
in interfaceEnvironmentRepositoryLink
-
getPosition
public int getPosition()
- Specified by:
getPosition
in interfaceEnvironmentRepositoryLink
- Returns:
- position of the repository in the environment repository list
-
setPosition
public void setPosition(int position)
- Specified by:
setPosition
in interfaceEnvironmentRepositoryLink
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-
-