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
ConstructorDescriptionEnvironmentRepositoryLinkImpl
(@NotNull MutableEnvironment environment, @NotNull RepositoryDataEntity repositoryDataEntity, int position) -
Method Summary
Modifier and TypeMethodDescriptionboolean
@NotNull InternalEnvironment
int
@NotNull RepositoryDataEntity
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 Details
-
EnvironmentRepositoryLinkImpl
public EnvironmentRepositoryLinkImpl() -
EnvironmentRepositoryLinkImpl
public EnvironmentRepositoryLinkImpl(@NotNull @NotNull MutableEnvironment environment, @NotNull @NotNull RepositoryDataEntity repositoryDataEntity, int position)
-
-
Method Details
-
getEnvironment
- Specified by:
getEnvironment
in interfaceEnvironmentRepositoryLink
-
setEnvironment
- Specified by:
setEnvironment
in interfaceEnvironmentRepositoryLink
-
getRepositoryDataEntity
- Specified by:
getRepositoryDataEntity
in interfaceEnvironmentRepositoryLink
-
setRepositoryDataEntity
- 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
- Overrides:
equals
in classcom.atlassian.core.bean.EntityObject
-
hashCode
public int hashCode()- Overrides:
hashCode
in classcom.atlassian.core.bean.EntityObject
-